“When anyone of you enters the mosque, let him not sit down until he performs two Rak’ah.”

Sunan Ibn Majah Book 5, Hadith 210