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.
Is it permissible to offer prayer at home, or should it be offered in the mosque?
All perfect praise be to Allah, The Lord of The Worlds. It isn`t preferable for the man to pray at home as praying in the mosque is twenty seven times more rewarding. Therefore, this should motivate him to offer prayers in the mosque. And Allah Knows Best.
Is ablution invalidated when blood comes out of the nose, or a wound?
Blood coming out of the nose, or a wound does not invalidate ablution, but it is preferable to make ablution as a way out of the scholars disagreement in this regard.
Is the niṣāb calculated based on the price of 21-karat gold, or 24-karat gold?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
Zakāh is obligatory on cash and on gold designated for saving or for trade, provided the total reaches the niṣāb (minimum threshold liable for zakah), and a full ḥawl (lunar year) has elapsed over it. The niṣāb is (85) grams of 24-karat gold; for 21-karat gold, the niṣāb equals (97) grams; and for 18-karat gold, it equals (113) grams.
The relied-upon position is to calculate the zakāh based on the buying price [i.e., the price the gold merchant would pay the owner to purchase the gold from him] on the day the zakāh obligation is due.
The one paying zakāh may assess/calculate the niṣāb using any of the aforementioned gold karats [i.e., he may choose whichever karat standard he wishes for the purpose of the calculation]. And Allah, the Exalted, knows best.