Sunan Ibn Majah, Book 25, Hadith 3187 (In-Book) ⓘ
It was narrated that Ibn ‘Umar said: “The Messenger of Allah forbade a man to depart until the last thing he did was (Tawaf around) the House.”
حَدَّثَنَا عَلِيُّ بْنُ مُحَمَّدٍ، حَدَّثَنَا وَكِيعٌ، حَدَّثَنَا إِبْرَاهِيمُ بْنُ يَزِيدَ، عَنْ طَاوُسٍ، عَنِ ابْنِ عُمَرَ، قَالَ نَهَى رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ أَنْ يَنْفِرَ الرَّجُلُ حَتَّى يَكُونَ آخِرُ عَهْدِهِ بِالْبَيْتِ .
also referenced under: Hadith 3071 (Reference) & Volume 4, Book 25, Hadith 3071 (DarusSalam)