What is the ruling of Islamic Law on applying perfume before entering the state of ihram
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
Applying some perfume (ṭīb) before entering the state of iḥrām does not affect the validity of the Ihram, even if its trace remains after the iḥrām has begun. Indeed, it is sunnah for the pilgrim performing Ḥajj or ʿUmrah to perfume himself before iḥrām.
The scholar Nawawī al-Jāwī (may Allah have mercy on him) said: “The third of them is applying perfume to the body shortly before it, that is, before iḥrām, whether the one entering iḥrām is male or otherwise, young or old, married or unmarried. The recommendation applies after performing the ritual bath (ghusl), and it is fulfilled with any perfume whatsoever, though the best is musk, mixed with rose water or the like. There is no objection to the perfume remaining on the body after iḥrām; however, if a woman becomes bound by the mourning observance (iḥdād) after entering iḥrām, she must remove it. As for perfuming the garment, it is merely permissible, not recommended, according to the reliable position (al-muʿtamad). But if one removes his perfumed garment while the scent is still present in it and then wears it again, he is liable for the fidyah (expiation).” [Nihāyat al-Zayn, Vol.1/212]. And Allah Almighty knows best.
Is it obligatory to have an intention (niyyah) for every prayer?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
It is obligatory for the worshiper to have a specific intention (Niyyah) for every prayer, meaning they must consciously intend the act of worship they are performing. The intention is a pillar (Rukn) of the prayer, and the prayer is not valid without it. It is not a requirement to utter the intention verbally; rather, doing so is considered a recommended Sunnah. And Allah the Exalted knows best.
Is the marriage, which lacks a valid legal contract, a guardian, and a court registration, valid?
It is incumbent that a valid marriage contract be concluded in the presence of a guardian and two trustful witnesses, and it should be registered in the court to protect the rights of the wife. Actually, a valid marriage contract is what differentiates between sound marriage and fornication.
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]