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.
Is it permissible for one to masturbate in order not to commit fornication?
This is called committing the milder of the two evils such as eating a carcass in fear of death, and this happens when committing fornication is very likely to occur.
What should a sick person, who is incapable of fasting, and who didn`t make up for missed fasting days, do?
One who has missed fasting days is obliged to make up for them, but if he/she wasn`t able to because of an incurable disease , or old age, then he/she has to pay a ransom which is feeding a needy person for each of the missed fasting days. And Allah Knows Best.
My husband told me that he concluded our marriage with a fake name that belongs to another person, because he was sentenced. Nowadays, he recieved an ID, passport and birth certificate with the his current name. What is the ruling on being married to him?
Praise be to Allah, The Lord of The Worlds, and may His peace and blessings be upon our Prophet Muhammad and upon all of his family and companions. As regards being married to the person mentioned in your question: The marriage is valid so long as he was the same person your guardian concluded the marriage with, even if he changed his name i.e. if your marriage contract was concluded with the same person, since what counts regarding marriage is the persons not names. And Allah Knows Best.