Does passing wind from the anus affect ritual purity?
Ablution is nullified by the passing of wind from the anus, but washing the anus is not required as wind leaves no impurity.
If a woman becomes pure from menstruation before the Fajr Adhan in Ramadan, is she required to fast?
If a woman becomes pure (from menstrual period) before the Fajr Adhan, she must fast, as the impediment preventing her from fasting has been removed. The Sharia maxim in this regard states: "When the impediment is removed, the obligation returns."
She should then make the intention to fast before Fajr and perform ghusl (ritual purification) for prayer, whether before or after Fajr.
Is bleeding that lasts for nine or ten days considered menstruation (Hayd)?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
If the duration of the bleeding does not exceed fifteen days, then all of it is considered menstruation (Hayd), even if the regular cycle ('Adah) has changed. And Allah the Exalted knows best.
What is the ruling on speaking while relieving oneself?
It is disliked for one relieving himself to speak while doing so, except out of necessity. And Allah the Almighty knows best.