Rabee’ bin Sabeeh Basri said: I saw Imam Hasan Basri (may Allah have mercy on him) praying two rak‘ahs during the sermon, and he said: The Messenger of Allah (peace and blessings be upon him) said: “When the Imam is delivering the sermon and one of you enters the mosque, let him pray two light rak‘ahs (Tahiyyat al-Masjid), and let him keep them brief.” Imam Darimi (may Allah have mercy on him) said: This is also my opinion.