٩٤٠ مسألة ومن قال من أهل الكفر مما سوى اليهود والنصارى أو المجوس لا إله إلا الله أو قال محمد رسول الله كان بذلك مسلماً تلزمه شرائع الاسلام فإن أبى الاسلام قتل وأما من اليهود والنصارى والمجوس فلا يكون مسلماً بقول لا إله إلا الله محمد رسول الله إلا حتى يقول وأنا مسلم أو قد أسلمت أو أنا بريء من كل دين حاشا الاسلام
المحلى لإبن حزم كتاب الجهاد
Whoever of the Disbelievers – besides Jews, Christians, and Magians – say “There is no god but Allah” or say “Muhammad is the Messenger of Allah”, this makes them a Muslim, subject to the laws of Islam; but if they refuse Islam, they are killed. However Jews, Christians, and Magians do not become Muslim by saying “There is no god but Allah, Muhammad is the Messenger of Allah”, not until they also say “And I am a Muslim” or “I have yielded into Islam” or “I am absolved of all religion but Islam”.
Ibn Hazm, Al-muhalla bi Al-athar [Sweetened by the Outcomes/Historical accounts], The book of jihad (issue 940)