When is Istikharah (guidance prayer) Du`a offered, before Tasleem (saying asalamu alikum warahmatu allah wa barakatuh to end the prayer), or after it?
It is offered after Tasleem.
What is the ruling on wiping the white area behind the ears instead of wiping the head?
The obligation in ablution is to wipe some of the head; it is not a condition to wipe all of it. Wiping the white area behind the ears suffices for that. And Allah the almighty knows best.
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.
If a woman becomes pure from menstruation before the Fajr Adhan in Ramadan, is she required to fast?
If a woman becomes pure (from menstrual period) before the Fajr Adhan, she must fast, as the impediment preventing her from fasting has been removed. The Sharia maxim in this regard states: "When the impediment is removed, the obligation returns."
She should then make the intention to fast before Fajr and perform ghusl (ritual purification) for prayer, whether before or after Fajr.