Praise be to Allah.
The majority of fuqaha’ are of the view that it is mustahabb to do the marriage contract in the mosque, and they quoted as evidence for that the hadeeth: “Announce the marriage and do it in the mosque and beat daffs for that.” Narrated by al-Tirmidhi (1089), but it is da’eef (weak) – except the part about announcing the marriage – as al-Albaani said in Da’eef al-Tirmidhi.
It says in Majma’ al-Anhar (1/317): It is mustahabb to do the marriage contract in the mosque, and to do it on a Friday, but they differed as to whether it is makrooh to hold the wedding party there. The best view is that it is not makrooh if it does not involve anything that is detrimental to religious practice. End quote.
Al-Khorashi said in Sharh Khaleel (7/71): i.e., it is permissible to do the marriage contract (in the mosque), i.e., the proposal and response, rather that is mustahabb. End quote.
And it says in Nihaayat al-Muhtaaj (6/185): It is Sunnah to get married in Shawwaal, to consummate the marriage in (Shawwaal), to do the marriage contract in the mosque, to do it before a group of people and to do it at the beginning of the day. End quote.
It says in Kashshaaf al-Qinaa’ (2/368): It is permissible to do the marriage contract in (the mosque), rather it is mustahabb as was mentioned by some of our companions. End quote.
When doing the marriage contract in the mosque it is essential that this does not result in any disrespect towards the mosque or doing any reprehensible deeds therein, such as beating the daff, and no nasheeds should be sung therein. Rather the marriage contract is enough, but if any Qur’aan is read or a speech is given, there is nothing wrong with that, but that should not always be done, because there is no evidence for reading Qur’aan in wedding parties or at other times, and some of the scholars regarded that as an innovation (bid’ah).
Shaykh ‘Abd al-Razzaaq ‘Afeefi (may Allaah have mercy on him) was asked about the ruling on reading Qur’aan out loud in parties and gatherings such as wedding parties: is this an innovation?
He replied: It is an innovation to begin gatherings officially with recitation of Qur’aan, because there is no text concerning that, so it should not be taken as a custom, but it is permissible to do it sometimes. I had a disagreement with the Council of Senior Scholars when they opened meetings with the recitation of Qur’aan. I said: This is an innovation. This was not done by the Messenger (peace and blessings of Allaah be upon him), whose gatherings were many, and he is the leader whose example is to be followed. But if there is a speech which includes some verses of Qur’aan, there is nothing wrong with that. End quote from Fataawa wa Rasaa’il al-Shaykh ‘Abd al-Razzaaq al-‘Afeefi, p. 621.
And Allaah knows best.