What is the wisdom behind the legislation of fasting?
Fasting is a divine school from which the believer learns much and trains in virtues that may be needed in life. Among these virtues is patience, as it is the month of patience. Fasting also teaches honesty and consciousness of Allah in both private and public, for there is no observer over the fasting person in abstaining from lawful pleasures except Allah alone.
Fasting strengthens willpower, sharpens determination, and nurtures mercy and compassion among the servants of Allah. It is a struggle against the self, a restraint of desires, a purification of the soul, and a cultivation of goodness.
The Prophetﷺ said: "Allah, the Almighty, said: ‘Every deed of the son of Adam is for him, except for fasting; it is for Me, and I shall reward for it. Fasting is a shield. So when one of you is fasting on a day, let him not engage in obscene speech or raise his voice in anger. If someone insults him or fights him, let him say: I am a fasting person. By Him in whose hand is the soul of Muhammad, the breath of the fasting person is more pleasant to Allah than the fragrance of musk.’" [Bukhari and Muslim]
Does passing wind, from the anus without a smell, invalidate prayer?
If a person is certain of having passed wind even if it was with no smell, then both his/her ablution and prayer are invalidated, thus he/she should remake ablution and re-perform prayer.
What is the ruling on forgiving a tenant next month's rent, with the intention of counting it toward zakāh al-māl?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
It does not fulfill the obligation to count the rent owed on a house, or a portion of it, in lieu of zakāh. Rather, it is necessary to first transfer ownership of the zakāh amount to the poor person directly; only afterward may he be asked to pay the rent [from that money].
It is stated in ‘Umdat as-Sālik (p. 112): "If someone gives [money] to a poor person, stipulating that the recipient return it to him in payment of a debt owed to him, or says, 'I am making what you owe me into zakāh, so take it [as such]' — this is not valid. But if he gives it to him with the [unstated] intention that the recipient will use it to repay him, or says, 'Repay what you owe me, so that I may [then separately] give it to you as zakāh,' or the debtor himself says, 'Give it to me, so that I may [then] repay you with it' — this is valid, and there is no binding obligation for the recipient to actually fulfill this [informal understanding]."
We would also remind [the reader] of the ḥadīth of the Prophet ﷺ: "The Muslim is the brother of the Muslim: he does not wrong him, nor does he abandon him [to harm]. Whoever attends to the needs of his brother, Allah, the Mighty and Majestic, will attend to his needs. Whoever relieves a Muslim of a hardship, Allah, the Mighty and Majestic, will relieve him of one of the hardships of the Day of Resurrection. And whoever conceals [the faults of] a Muslim, Allah will conceal him on the Day of Resurrection." (Agreed upon). And Allah, the Exalted, knows best.
Which takes precedence: the 'aqīqah or the uḍḥiyyah?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
The 'aqīqah is an act of worship through which a servant draws closer to Allah the Almighty in gratitude for the blessing of a newborn child. It is a confirmed Sunnah for those who are financially capable, and Allah does not burden any soul beyond what it can bear.
However, the uḍḥiyyah takes precedence, as it is a confirmed Sunnah established from the Prophet ﷺ through stronger and more numerous narrations — indeed, the Ḥanafī scholars hold it to be obligatory. Furthermore, its time is narrow and limited, expiring with the passing of the days of Eid, whereas the 'aqīqah may be delayed until one becomes financially capable of performing it.
And Allah Almighty knows best.