Question :
What is the ruling on someone who curses the religion or commits an act of disbelief during the day in Ramadan?
The Answer :
Whoever apostatizes (leaves Islam) while fasting, their fast is invalid. Cursing the religion is an act of apostasy (may Allah protect us from it). Such a person must return to Islam by pronouncing the Shahadah (testimony of faith), seek Allah’s forgiveness, refrain from eating and drinking for the rest of the day, and make up for that day’s fast later.