Abu Qatadah reported the Messenger of Allah (May peace be upon him) as saying; when any one of you enters the mosque, he should pray two RAKAHS before sitting down
Hadith No. 467
Sunan Abu Dawud
Gradings:
Al-Albani:
Sahih
Muhammad Muhyi Al-Din Abdul Hamid:
Sahih
Shuaib Al Arnaut:
Sahih
Zubair Ali Zai:
Sahih Bukhari (444) Sahih Muslim (714)