What is the ruling on the prayer of one who said "Subḥāna Rabbiya al-ʿAẓīm" in prostration (*sujūd*) and forgot to correct it?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
Saying “Subḥāna Rabbiya al-ʿAẓīm” in bowing (rukūʿ) and “Subḥāna Rabbiya al-Aʿlā” in prostration (sujūd) is one of the hayʾāt (non-essential sunnahs) of the prayer. Whoever omits it, whether deliberately or by forgetfulness, or replaces it with another remembrance (dhikr), his prayer is valid and he does not perform sujūd al-sahw. Shaykh al-Islām Imam al-Nawawī (may Allah have mercy on him) said: “Our school holds that one does not prostrate for omitting the audible or silent recitation, the tasbīḥ, and the rest of the hayʾāt.” [al-Majmūʿ, Vol.4/p.127]
If he performs sujūd al-sahw for something that does not call for it, his prayer is invalidated, because he introduced a prostration of forgetfulness without a cause, and he must repeat the prayer. The exception is one who did so out of forgetfulness or ignorance, whether because he recently entered Islam or because he lives far from scholars; he is excused and his prayer is not invalidated.
It is stated in Mughni al-Muḥtāj (Vol.1/p.417): “It is stated in al-Anwār: If he does something that does not call for sujūd al-sahw, thinking that it does, and then prostrates, his prayer is not invalidated if he is ignorant because he recently entered Islam or because he is far from scholars.”
Since this issue is hidden from the laity, as it is among the subtleties of knowledge, and the laity are excused for ignorance of whatever is of such a nature, and their act of obedience is not invalidated because of it, it may be said that the prayer of one who has not acquired knowledge of the issue is not invalidated. As for after knowing it, the prayer is invalidated.
Whoever realizes while still in the prayer that his prostration was out of place, it is sunnah for him to perform sujūd al-sahw. And Allah Almighty knows best.
What should a person who doubted having missed a pillar of prayer do?
All praise be to Allah, The Lord of The Worlds. The prayer of one who doubts having missed one of its pillars is valid, and nothing is due on him/her since having a doubt after offering the act of worship doesn`t undermine its validity. And Allah Knows Best.
What should one do if they see someone deliberately eating or drinking openly during Ramadan?
They must enjoin what is right and forbid what is wrong. If they fear harm from that person, they should disapprove of it in their heart but avoid sitting with them if possible. It is also preferable to seek the help of the authorities to prevent them from doing so.
What is the ruling on offering an Udhiyah on behalf of another with their permission?
Praise be to Allah, and peace and blessings be upon our master, the Messenger of Allah.
It is permissible for a person to offer a sacrifice (Udhiyah) on behalf of someone else with their permission, even if the person performing it has not offered a sacrifice for themselves. It is stated in Sharh Manhaj al-Tullab (Vol.5/P.261) by Zakariya al-Ansari: "No one may offer a sacrifice on behalf of another without their permission... as opposed to when permission has been granted." And Allah the Almighty knows best.