What is the ruling on speaking while relieving oneself?
It is disliked for one relieving himself to speak while doing so, except out of necessity. And Allah the Almighty knows best.
Does Laylat al-Qadr move between the nights of Ramadan?
Laylat al-Qadr is definitely in Ramadan, and it is most likely in the last ten nights, especially on the odd-numbered nights.
For this reason, the Prophet ﷺ commanded observing worship in the last ten nights, and he himself used to dedicate those nights to worship. Many people put special effort into the 27th night of Ramadan, and they are rewarded in any case, whether they actually coincide with Laylat al-Qadr or not, because worshiping on any night of Ramadan carries great rewards.
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.
A woman became pure [from menstruation] before Fajr, but did not perform ghusl until after sunrise — what is the ruling on her fast?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
Her fast is valid, since ghusl (ritual bathing) is not a condition for the validity of the fast, but rather for the validity of the prayer. However, she is sinful for delaying the Fajr prayer beyond its designated time without a valid excuse.
It is known that the time for Fajr prayer ends at sunrise. Nevertheless, she must still perform ghusl, and make up the Fajr prayer. And Allah, the Exalted, knows best.