What is the ruling on offering the sacrifice (uḍḥiyah) using the wealth of a minor or a legally incompetent person (safīh)?
Praise be to Allah, and peace and blessings upon our master, the Messenger of Allah.
It is not permissible for the guardian (walī) of an orphan or a legally incompetent person (safīh) to offer the sacrifice (uḍḥiyah) on behalf of the minor or the safīh using their wealth, because the guardian is charged with exercising caution over their wealth and is prohibited from giving any of it away voluntarily, and the udḥiyah is a voluntary act of charity (tabarru'). The guardian may, however, offer the sacrifice using his own personal wealth. And Allah, the Most High, knows best.
Is a woman`s prayer considered invalid if non-Mahrams (marriageable men) saw her offering it?
A woman`s prayer isn`t invalidated if non-Mahrams saw her offering it, but she had better pray in isolation.
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.
Is it a condition that a woman should untie her locks while making Ghusl (ritual bath)?
Ghusl from Janabah (ritual impurity), or menstruation obligates that water reaches the roots of the hair in order for the Ghusl to be valid, but if it doesn`t, then hair locks must be untied for water to reach them, and for Ghusl to become valid.