It wasnarrated that Ibn 'Umar said:
"When the Messenger of Allah(ﷺ)went out from this city (Al-Madinah) he did not perform morethan twoRak'ah for prayer until he returned." (JA)
English reference (JA): Vol. 1, Book 5, Hadith 1067 (JA)
Arabic reference (JA): Book 5, Hadith 1120 (JA)