What is the ruling on performing istinja' after passing wind from the anus?
Ablution is invalidated by passing wind from the anus, even without a smell. Only ablution becomes obligatory from it. Istinja' is not obligatory nor recommended. And Allah the Almighty 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.
What is the meaning of the Prophetic statement that a boy is held in pledge (murtahan) for his 'aqīqah?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
The first interpretation: That if the boy dies in infancy without an 'aqīqah having been performed on his behalf, he will not intercede for his parents on the Day of Resurrection. This is the position of Imam Aḥmad ibn Ḥanbal, and Imam al-Khaṭṭābī concurred with him, stating: "The finest of what has been said regarding this matter is the position adopted by Aḥmad ibn Ḥanbal." — [Fatḥ al-Bārī by Ibn Ḥajar,{Vol.9/P.594]
The second interpretation: That the child is likened to a pledged object (marhūn) — one from which full benefit and enjoyment cannot be derived until it is redeemed. A blessing is only made complete upon the one blessed when they fulfil the obligation of gratitude (shukr), and the prescribed expression of gratitude for this particular blessing is what the Prophet ﷺ established as Sunnah — namely, the slaughtering of the 'aqīqah on behalf of the newborn as an act of thankfulness to Allah the Almighty and as a supplication for the wellbeing and safety of the child. This is the position of Mullā 'Alī al-Qārī. See: [Mirqāt al-Mafātīḥ Sharḥ Mishkāt al-Maṣābīḥ, Vol.7/P.2688]
And Allah Almighty knows best.
If someone prayed sitting or lying down because of illness, must he repeat the prayer after he recovers?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
If a sick person prays sitting or lying down in the obligatory prayer because he is unable to stand, and then recovers, he does not have to repeat what he prayed in those postures, because he was excused.
Shaykh al-Islām Imam al-Nawawī (may Allah have mercy on him) said: “The Ummah is unanimously agreed that whoever is unable to stand in the obligatory prayer prays it sitting and does not have to repeat it. Our fellow scholars said: His reward is not less than his reward when standing, because he is excused. It is established in Ṣaḥīḥ al-Bukhārī that the Messenger of Allah (peace and blessings be upon him) said: ‘When a servant falls ill or travels, there is recorded for him what he used to do when healthy and resident.’ Our fellow scholars said: It is not a condition of inability that standing be altogether impossible, nor does the slightest hardship suffice. What counts is clear hardship. If he fears severe hardship, a worsening of his illness, or the like, or if a passenger on a ship fears drowning or dizziness, he prays sitting and does not have to repeat.” [al-Majmūʿ, Vol.4/p.201]. And Allah Almighty knows best.