Does undergoing an endoscopy during the day in Ramadan affect the validity of fasting?
Undergoing an endoscopic procedure during the day in Ramadan—whether through the mouth, nose, front private part, or back private part—invalidates the fast.
Whoever undergoes such a procedure must refrain from eating and drinking for the rest of the day out of respect for the sacred month and make up for that day after Ramadan.
What is the ruling on omitting the prostration of recitation?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
The prostration of recitation (Sajdat al-Tilawah) is a Sunnah for both the reader and the listener. There is no sin in omitting it, though doing so results in missing a great reward. Muslim narrated from Abu Hurairah (may Allah be pleased with him) that the Prophet ﷺ said: 'When the son of Adam recites a verse of prostration and prostrates, Shaytan withdraws weeping, saying: "Woe to him! (and in the narration of Abu Kuraib: "Woe to me!") The son of Adam was commanded to prostrate and he prostrated, so Paradise is his; and I was commanded to prostrate and I refused, so the Fire is mine."'
Sheikh al-Islam Imam al-Nawawi (may Allah have mercy on him) stated: 'It is recommended to prostrate immediately after reciting or hearing a verse of prostration. If one delays it but the interval is short, he may still prostrate. However, if the interval is long, the opportunity is missed.' [Rawdat al-Talibin Vol.1/P.323].
Furthermore, the prostration of recitation becomes obligatory (Wajib) in congregational prayer if the Imam prostrates, out of the necessity of following him. And Allah the Exalted knows best.
What is the ruling on someone who prays but does not fast, without a valid excuse?
Fasting is one of the pillars of Islam, and a Muslim's faith is incomplete if they neglect the obligation of fasting while being physically capable of observing it.
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]