It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) used to lead the prayer before the sermon on the occasions of the two Eids, and then he would deliver the sermon after the prayer.