Allah say in the Qur’an:
256. There is no compulsion in religion. The right direction is henceforth distinct from error. And he who rejecteth false deities and believeth in Allah hath grasped a firm handhold which will never break. Allah is Hearer, Knower.
Surah 2:256 Al-Baqarah