What is the ruling on congratulating others on the arrival of Ramadan?
Congratulating others on the arrival of Ramadan is permissible.
If someone does it to express their love for worship and the blessings of Ramadan, and congratulates their fellow Muslim, they have done something good.
The Prophet ﷺ said: "Shall I not tell you something that, if you do it, you will love one another? Spread peace (Salam) among yourselves." [Narrated by Muslim]
Giving Salam is a prayer for peace and safety.
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]
What is the meaning of the Prophetic statement that a boy is held in pledge (murtahan) for his 'aqīqah?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
The first interpretation: That if the boy dies in infancy without an 'aqīqah having been performed on his behalf, he will not intercede for his parents on the Day of Resurrection. This is the position of Imam Aḥmad ibn Ḥanbal, and Imam al-Khaṭṭābī concurred with him, stating: "The finest of what has been said regarding this matter is the position adopted by Aḥmad ibn Ḥanbal." — [Fatḥ al-Bārī by Ibn Ḥajar,{Vol.9/P.594]
The second interpretation: That the child is likened to a pledged object (marhūn) — one from which full benefit and enjoyment cannot be derived until it is redeemed. A blessing is only made complete upon the one blessed when they fulfil the obligation of gratitude (shukr), and the prescribed expression of gratitude for this particular blessing is what the Prophet ﷺ established as Sunnah — namely, the slaughtering of the 'aqīqah on behalf of the newborn as an act of thankfulness to Allah the Almighty and as a supplication for the wellbeing and safety of the child. This is the position of Mullā 'Alī al-Qārī. See: [Mirqāt al-Mafātīḥ Sharḥ Mishkāt al-Maṣābīḥ, Vol.7/P.2688]
And Allah Almighty knows best.