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.
Should Al-Basmalah (i.e. saying Bismillaaahi Ar-Rahmaani Ar-Raheemi) be recited after Takbeerat Al-Ihram (saying Allahuakbar) which marks the beginning of prayer?
All perfect praise be to Allah,The Lord of The Worlds A praying person is obliged to recite Al-Basmalah at the beginning of Chapter Al-Faatihah, and in every Rak`ah (unit of prayer) because it is a verse of it. And Allah Knows Best.
Is it permissible to swear by (Allah "The Living")?
Yes, it is permissible because "The Living" is one of Allah`s Attributes.
If husband doesn`t pray, but wife does, is their marriage contract considered valid or not?
All perfect praise be to Allah the Lord of the Worlds. May Allah`s peace and blessings be upon our Prophet Mohammad and upon all his family and companions.
Not observing daily prayers is a grave sin, but doesn`t invalidate a person`s marriage contract. However, we advise you to save your husband from hellfire by convincing him to observe the prescribed prayers. And Allah The Almighty Knows Best.