we have included these people with the apostates in all the rulings and accepting the repentance of the apostate is necessary. rather it is better not to rush to kill him except after asking him to repent and presenting islam to him and encouraging him to it. as for the repentance of the batiniyyah and every heretic who hides in disbelief and sees taqiyyah as a religion and believes in hypocrisy and showing the opposite of belief when feeling fear is true then there is a difference of opinion among the scholars regarding this. some of them went to accept it because of the saying of the prophet may god bless him and grant him peace i was commanded to fight the people until they say there is no god but god. so if they say it their blood and their wealth are protected from me except for a right. and because the shariah has built religion on outward appearances we do not rule except by outward appearances and allah is in charge of the secrets. the evidence for this is that if the one who is forced converts to islam under the shadows of swords and he is afraid for his life we know from the evidence of his condition that he is concealing something other than what he shows so we rule that he is a muslim and we do not pay attention to what is known from the evidence of his secret. this is also indicated by what was narrated that usamah killed a disbeliever and the sword was drawn upon him after he uttered the word of islam and this was severe on the messenger of allah may allah bless him and grant him peace. osama said
وقد ألحقنا هؤلاء بالمرتدين في سائر الأحكام وقبول التوبه من المرتد لابد منه بل الأول ألا يبادر إلى قتله إلا بعد استتابته وعرض الإسلامعليه وترغيبه فيه وأما توبة الباطنية وكل زنديق مستتر بالكفر يرى التقية دينا ويعتقد النفاق واظهار خلاف المعتقد عند استشعار الخوف حقا ففي هذا خلاف بين العلماء ذهب ذاهبون إلى قبولها لقوله صلى الله عليه وسلم امرت أن أقاتل الناس حتى يقولوا لا اله الا الله فإذا قالوها عصموا منى دماءهم واموالهم الا بحقها ولأن الشرع إنما بنى الدين على الظاهر فنحن لا نحكم إلا بالظاهر والله يتولى السرائر والدليل عليه أن المكره إذا اسلم تحت ظلال السيوف وهو خائف على روحه نعلم بقرينة حاله انه مضمر غير ما يظهره فنحكم بإسلامه ولا نلتفت إلى المعلوم بالقرائن من سريرته ويدل عليه أيضا ماروى أن أسامة قتل كافرا فسل عليه السيف بعد أنتلفظ بكلمة الإسلام فاشتد ذلك على رسول الله صلى الله عليه وسلم فقال أسامة