Sunan Ibn Majah, Volume 4, Book 25, Hadith 3070 (DarusSalam)

It was narrated that Ibn ‘Abbas said: “The people were going in all directions, and the Messenger of Allah said: ‘No one should depart until the last thing he does is (Tawaf around) the House.’”

حَدَّثَنَا هِشَامُ بْنُ عَمَّارٍ، حَدَّثَنَا سُفْيَانُ بْنُ عُيَيْنَةَ، عَنْ سُلَيْمَانَ، عَنْ طَاوُسٍ، عَنِ ابْنِ عَبَّاسٍ، قَالَ كَانَ النَّاسُ يَنْصَرِفُونَ كُلَّ وَجْهٍ فَقَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ ‏ "‏ لاَ يَنْفِرَنَّ أَحَدٌ حَتَّى يَكُونَ آخِرُ عَهْدِهِ بِالْبَيْتِ ‏" ‏ ‏.‏

sunnah.com