“When one of you enters the mosque, let him perform two Rak’ah before he sits down.”
Sunan Ibn Majah Book 5, Hadith 211