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.
A person prays in a certain spot within the rows of the mosque, and gets angry if someone else prayed at his spot. What is the ruling on this behavior?
All Perfect Praise be to Allah The Lord of The Worlds and may His Peace and blessings be upon our Prophet Muhammad and upon all of his family and companions Prophet Mohammad (PBUH) make it prohibited for a Muslim from having/taking a certain spot in the mosque when performing prayers if they arrived and find it occupied, furthermore; it is the religious duty on others (praying people) to offer a piece of advice to alert the ones who don't know, that whoever reaches a spot first at the mosque having a priority/privilege upon others in that spot. And Allah Knows Best.
What is the ruling on vomiting, and does it invalidate ablution?
Vomit is impure (najis). Its exit is not considered one of the nullifiers of ablution. However, the mouth must be washed and purified from it, and any that gets on clothing or the body must be washed for prayer, because prayer is not valid with impurity present on the body or clothing. And Allah the Almighty knows best.
What is the ruling of Islamic Law on performing prayer on the upper floors of al-Masjid al-Ḥarām?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
Facing the actual structure of the Ka‘bah (‘ayn al-Ka‘bah) is one of the conditions for the validity of the prayer. The scholars have clarified what is meant by "the actual structure of the Ka‘bah."
Imam ash-Sharwānī (raḥimahullāh) said: "What is meant by its ‘ayn (actual structure) is its physical body, or the airspace directly aligned with it — if the person praying is not inside it. But if he is inside it, then the airspace alone does not suffice; rather, the actual physical structure must be faced, such that even if he faces a projecting part of it measuring roughly two-thirds of a dhirā‘ (cubit) or more, this would be sufficient." [Ḥāshiyat ash-Sharwānī ‘alā Tuḥfat al-Muḥtāj, Vol.1/P.484]
Sheikh al-Qulyūbī (raḥimahullāh) said: "Unlike one who prays outside it — i.e., outside the Ka‘bah — for him the airspace (directly above it) suffices, even if he is higher than it, or even if he is at the location where it (hypothetically) has been demolished." [Ḥāshiyat al-Qulyūbī ‘alā Sharḥ al-Minhāj, Vol.1/P.154]
Accordingly, the prayer is valid on the upper floors of al-Masjid al-Ḥarām, even though these floors are higher than the roof of the Ka‘bah itself. And Allah, the Exalted, knows best.