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 validity of the formula for sending blessings upon our master Muḥammad ﷺ: *"Allāhumma ṣalli wa sallim wa bārik ‘alā sayyidinā Muḥammad wa ‘alā ālihi, ‘adada kamāli-Llāhi wa kamā yalīqu bikamālihi"* ("O Allah, send blessings, peace, and grace upon our master Muḥammad and his family, by the number of Allah's perfection, and as befits His perfection")?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
It is permissible to send blessings upon our master, the Prophet ﷺ, using the formula mentioned in the question, since sending blessings upon the Prophet ﷺ is an act of devotion legislated in its basic essence, without a specific prescribed wording required outside of the formal prayer itself. It is therefore valid to perform it outside of prayer using any formula. This particular formula involves multiplying the blessings sent upon the Chosen Prophet ﷺ to the number of the perfections of Allah, the Exalted — which are limitless — so that, by Allah's permission, its reward and benefit never cease.
The meaning of "the number of Allah's perfection" is that it is without limit, making the blessings sent boundless, corresponding to His perfection, Glorified is He, which cannot be enumerated or counted. This formula is analogous to the words of our Greatest Prophet ﷺ, as related in the authentic ḥadīth narrated by Imam Muslim: the Prophet ﷺ said to Sayyidah Juwayriyyah (raḍiyallāhu ‘anhā): "Indeed, I said four phrases after you [left], three times, which, if weighed against everything you have said since this morning, would outweigh them: Subḥān Allāhi wa biḥamdihi, ‘adada khalqihi, wa riḍā nafsihi, wa zinata ‘arshihi, wa midāda kalimātihi" (Glory be to Allah, and praise be to Him, by the number of His creation, by His pleasure, by the weight of His Throne, and by the extent of His words). And Allah, the Exalted, knows best.
What should someone do whose gums are bleeding?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
Whoever experiences bleeding gums while fasting must spit until his saliva runs clear — that is, until the bleeding has stopped — and then rinse his mouth to purify it.
If any of the blood enters his internal cavity (jawf) unintentionally, then his fast remains valid. And Allah, the Exalted, 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.