Does passing wind, from the anus without a smell, invalidate prayer?
If a person is certain of having passed wind even if it was with no smell, then both his/her ablution and prayer are invalidated, thus he/she should remake ablution and re-perform prayer.
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.
What is the ruling on forgetting an integral of the prayer?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
Whoever forgets an integral (Rukn) of the prayer and remembers it before reaching the equivalent point in the subsequent unit (Rak'ah), must return to it (i.e., perform it) and complete his prayer, then perform the prostration of forgetfulness (Sujud al-Sahw) at the end of his prayer. However, if he remembers it after reaching the equivalent point in the subsequent unit, the Rak'ah in which the integral was forgotten is invalidated, and the current unit takes its place; he then completes a full Rak'ah to compensate and performs the prostration of forgetfulness.
It is stated in Nihayat al-Muhtaj ila Sharh al-Minhaj (Vol.1/P.543): 'If he becomes certain at the end of his prayer, or after the Salam—provided the interval is not long according to custom and he has not stepped on an impurity—that he omitted a prostration from the final Rak'ah, he must perform it and repeat the Tashahhud, as his previous Tashahhud occurred before its proper place. If the omission was from a Rak'ah other than the final one, he must perform a full Rak'ah, because the deficient unit was completed by a prostration from the subsequent one, rendering the rest of that subsequent unit void.' And Allah the Exalted knows best.
I broke my oath and am now obligated to pay the expiation for a broken oath (kaffārat al-yamīn). Would it be valid to fulfill this by inviting the poor and needy to a meal for them to eat from?
Praise be to Allah, and peace and blessings upon our master, the Messenger of Allah.
The expiation for a broken oath (kaffārat al-yamīn) is given to the poor (fuqarā') and needy (masākīn), and it must be given in the form of ownership (tamlīk) transferred to them of the required amount — namely, one mudd of the staple food of the locality, or its equivalent monetary value. It isn`t valid to invite the poor or needy to a meal prepared for them to eat from, as this does not constitute "ownership" (tamlīk) but merely "permission to partake" (ibāḥah).
Imam al-Shirbīnī (may Allah have mercy on him) said: "What is intended is that ownership be transferred to them; therefore, providing them with lunch or dinner [as a meal to eat from] isn`t valid." [Summarized from Mughnī al-Muhtāj,Vol. 5/P.50]. And Allah the Almighty knows best.