Hadith 1827
Sayyiduna Abu Qatadah (may Allah be pleased with him) narrates that the Messenger of Allah (peace be upon him) said: "When any one of you enters the mosque, he should not sit down without praying two rak‘ahs." This is the hadith of Ibn ‘Ajlan. And in the narration of Ibn Abi ‘Adi, it is: "Whoever enters this mosque (the Prophet’s Mosque)."