“When the Messenger of Allah (ﷺ) went out from this city (Al-Madinah) he did not perform more than two Rak’ah for prayer until he returned.”
Sunan Ibn Majah Book 5, Hadith 265