A man insulted the Divine Essence; is it obligatory for him to perform Ghusl?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
Insulting or blaspheming the Divine Essence (Dhat al-Ilahiyyah) constitutes apostasy (Riddah). The perpetrator of this grave sin must immediately repeat the two testimonies of faith (Shahadah) and sincerely repent to Allah the Exalted. It is recommended (Sunnah) for them to perform a ritual bath (Ghusl), though it is not a mandatory condition [for the validity of their return to Islam]. And Allah the Exalted knows best.
Does buying meat equivalent to the weight of a slaughtered animal and distributing it avail for an udhiyah?
Praise be to Allah, and prayers and peace be upon our Master the Messenger of Allah.
That does not avail for the sacrifice (uḍḥiyyah), because the sacrifice necessarily requires slaughtering an animal from the category of anʿām (camels, cattle, and sheep/goats) within a specified time.
Rather, that is considered a form of charity (ṣadaqah) for which one is rewarded, but not an udhiyah. And Allah Almighty knows best.
What is the ruling on preparing food for someone who is not fasting in Ramadan?
It is forbidden to prepare food for someone who is breaking their fast without a valid excuse in Ramadan.
Doing so would be assisting in sin, and assisting in sin is itself a sin.
Allah says {what means}: "but help ye not one another in sin and rancour" [Al-Mai`dah/2]
Is the marriage contract considered valid if concluded at home by the marriage official (Ma`zon)?
Yes, it is valid as long as it is registered at the court.