Does drinking or serving Khamr affect the validity of the marriage contract?

Q 6: Would the marriage contract be rendered invalid if on the day of contracting marriage the groom drank Khamr (intoxicants) or served it to some of his friends, and the Ma'dhun (marriage registrant) knew that the groom was drinking Khamr?

A: The marriage contract will be null and void if the contracting parties are known to have been intoxicated when it was concluded. (Part No. 18; Page No. 331) If they are known to have not been intoxicated at that time, the contract will be considered valid. However, their act constitutes ingratitude towards Allah's Bounties and returning blessings with sins. May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.