It is well known that the sermon is given after the Eid prayer. Yet it is mentioned in Al-Bukhari’s Sahih that Marwan, the governor of Madinah, did it before the prayer explaining this as necessary because people left without listening to the sermon. Can we do the same?
Marwan was the governor of Madinah when he did this. Abu Saeed Al-Khudri, the reporter of this Hadith, was a learned companion of the Prophet, peace be upon him. He objected to the action at first, telling Marwan, who was also a scholar, that he has changed the Prophet’s practice. Nevertheless, he stayed and offered the prayer with Marwan.
This means that there is no clear ruling by the Prophet, peace be upon him, making the khutbah or sermon a requirement after the prayer. It is certainly preferable that it should be so, because it would then be following the Prophet’s practice. However, Marwan used his discretion, opting for what is less preferable in order to serve what, to him, was a more important purpose, which was to ensure that people stayed to listen. This is up to the Imam to do.