Does the 'aqīqah count as valid if it is slaughtered before the seventh day from the birth?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
The time during which it becomes permissible to slaughter the 'aqīqah begins from the moment the newborn is fully delivered from its mother's womb.
If the animal is slaughtered prior to the birth, it does not count as an 'aqīqah — it is simply considered an ordinary sheep slaughtered for its meat.
And Allah 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 ruling on someone who curses the religion or commits an act of disbelief during the day in Ramadan?
Whoever apostatizes (leaves Islam) while fasting, their fast is invalid. Cursing the religion is an act of apostasy (may Allah protect us from it). Such a person must return to Islam by pronouncing the Shahadah (testimony of faith), seek Allah’s forgiveness, refrain from eating and drinking for the rest of the day, and make up for that day’s fast later.
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.