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.
What is the ruling on one who vowed not to speak to a certain person, then forgot his vow and spoke to him?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
Whoever swears an oath or makes a vow to abstain from something has a choice: if he wishes, he may keep to his vow, or if he wishes, he may offer the expiation of an oath (kaffārat yamīn). The Prophet (peace and blessings be upon him) said: “The expiation for a vow is the expiation for an oath.” Narrated by Muslim. This type of vow is called a nadhr al-lajāj (a vow made in stubbornness or anger).
If a person makes a vow and then forgets it, nothing is due from him, for forgetfulness is among the excuses that lift legal responsibility (taklīf) from a Muslim. This is based on the saying of the Prophet (peace and blessings be upon him): “Actions are judged only by intentions, and every person will have only what he intended.” [Narrated by al-Bukhārī]. There is no intention for the one who forgets or errs. It is also based on the report: “Indeed, Allah has pardoned for my Ummah mistakes, forgetfulness, and what they are compelled to do.” Narrated by Ibn Mājah and others, and graded authentic by Ibn Ḥibbān and al-Ḥākim.
It is stated in ʿUmdat al-Sālik (p. 243), one of the books of the Shāfiʿī school: “Whoever swears, [for example], ‘I will not enter the house,’ and then enters it forgetfully, ignorantly, under compulsion, or being carried, he does not break his oath.” And Allah Almighty knows best.
Is the marriage contract considered valid if concluded at home by the marriage official (Ma`zon)?
Yes, it is valid as long as it is registered at the court.
Is it valid for the 'aqīqah to be performed using the newborn child's own wealth?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
It is not permissible for the guardian to perform the 'aqīqah using the newborn child's own wealth, because the 'aqīqah is a voluntary act of giving (tabarru'), and a guardian is prohibited from making voluntary expenditures from the child's wealth. Should he do so, he becomes financially liable for what he spent. And Allah Almighty knows best.