What is the ruling on someone who fasts but does not pray?
A Muslim must be diligent in fulfilling all obligations, and after the Shahadah, prayer is the most important duty.
● If someone abandons prayer out of disregard, they are considered a disbeliever, and their fasting is not accepted.
● If they abandon prayer out of laziness, they are still a Muslim, and their fasting remains valid, but they have committed a grave sin by neglecting prayer.
What is the wisdom behind the legislation of fasting?
Fasting is a divine school from which the believer learns much and trains in virtues that may be needed in life. Among these virtues is patience, as it is the month of patience. Fasting also teaches honesty and consciousness of Allah in both private and public, for there is no observer over the fasting person in abstaining from lawful pleasures except Allah alone.
Fasting strengthens willpower, sharpens determination, and nurtures mercy and compassion among the servants of Allah. It is a struggle against the self, a restraint of desires, a purification of the soul, and a cultivation of goodness.
The Prophetﷺ said: "Allah, the Almighty, said: ‘Every deed of the son of Adam is for him, except for fasting; it is for Me, and I shall reward for it. Fasting is a shield. So when one of you is fasting on a day, let him not engage in obscene speech or raise his voice in anger. If someone insults him or fights him, let him say: I am a fasting person. By Him in whose hand is the soul of Muhammad, the breath of the fasting person is more pleasant to Allah than the fragrance of musk.’" [Bukhari and Muslim]
What does "All the deeds of the son of Adam are for him, except fasting" mean?
The Prophet ﷺ said: "Allah, the Almighty, said: 'Every deed of the son of Adam is for him, except for fasting; it is for Me, and I shall reward for it." [Agreed upon]
This means:
● Every deed of the son of Adam may be affected by showing off (riyaa’), except fasting, because only Allah knows whether a person is truly fasting or not.
● The reward for all deeds is known—one good deed is multiplied tenfold—except fasting, as only Allah knows its true reward.
Is it permissible to offer prayer at home, or should it be offered in the mosque?
All perfect praise be to Allah, The Lord of The Worlds. It isn`t preferable for the man to pray at home as praying in the mosque is twenty seven times more rewarding. Therefore, this should motivate him to offer prayers in the mosque. And Allah Knows Best.