Abdullah bin Umar reported,

The Messenger of Allah ﷺ prayed in that valley of Batha when he was returning from his pilgrimage. Then the Messenger of Allah ﷺ entered Madinah, made his camel kneel at the door of his mosque, went inside and prayed two rakahs, and then departed to his house.Nafi said, "Abdullah bin Umar used to do the same."

Azami 3037

Hasan

عن ابن عمر

أن رسول الله ﷺ صلى حين أقبل من حجته قافلا في تلك البطحاء، قال: ثم دخل رسول الله ﷺ المدينة، فأناخ على باب مسجده، ثم دخل فركع فيه ركعتين، ثم انصرف إلى بيته. قال نافع: فكان عبد الله بن عمر كذلك يصنع.

الأعظمي 3037حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Mosques
Section
Recommendation of praying two rakahs in the masjid upon returning from a journey at the time of arrival
Numbering
Jami al-Kamil 3037 (2nd edition)
Azami 3037