What is the ruling on someone who eats or drinks thinking that the night is still present, then realizes that dawn has broken?
Whoever eats or drinks thinking that the night is still present, then later discovers that dawn has broken, must refrain from eating and drinking for the rest of the day out of respect for the sacred month. However, they must make up that day after Ramadan, and there is no sin upon them.
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 virtue of Laylat al-Qadr?
It is enough to know its great status that Allah revealed an entire surah about it—Surah Al-Qadr. Moreover, the Quran was first revealed on this night.
Allah says {what means}:
"We have indeed revealed this (Message) in the Night of Power: And what will explain to thee what the night of power is? The Night of Power is better than a thousand months. Therein come down the angels and the Spirit by Allah's permission, on every errand: Peace!... This until the rise of morn!" [Al-Qadr/1-5]
The Prophet ﷺ taught us to observe I‘tikaf in the last ten nights of Ramadan, seeking Laylat al-Qadr. Whoever worships Allah and revives this night will receive the reward of worshiping for a thousand months—excluding Laylat al-Qadr itself.
Should a prayer performer who forgets to offer the middle Tashahod (saying ash-hadu anala ilaha ila-alah) offer Sujood As-Sahw (prostration of forgetfulness)?
He/she should offer two prostrations of forgetfulness at the end of the prayer. And Allah Knows Best.