Language:
كتاب مناقب الأنصار
63  
Merits of the Helpers in Madinah (Ansaar)
(47)
Chapter: The stay of the emigrants in Makkah after Hajj
(47)
باب إِقَامَةِ الْمُهَاجِرِ بِمَكَّةَ بَعْدَ قَضَاءِ نُسُكِهِ
Sahih al-Bukhari 3933

Narrated `Abdur-Rahman bin Humaid Az-Zuhri:

I heard `Umar bin `Abdul-Aziz asking As-Sa'ib, the nephew of An-Nimr. "What have you heard about residing in Mecca?" The other said, "I heard Al-Ala bin Al-Hadrami saying, Allah's Messenger (ﷺ) said: An Emigrant is allowed to stay in Mecca for three days after departing from Mina (i.e. after performing all the ceremonies of Hajj)"

حَدَّثَنِي إِبْرَاهِيمُ بْنُ حَمْزَةَ، حَدَّثَنَا حَاتِمٌ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ حُمَيْدٍ الزُّهْرِيِّ، قَالَ سَمِعْتُ عُمَرَ بْنَ عَبْدِ الْعَزِيزِ، يَسْأَلُ السَّائِبَ ابْنَ أُخْتِ النَّمِرِ مَا سَمِعْتَ فِي، سُكْنَى مَكَّةَ قَالَ سَمِعْتُ الْعَلاَءَ بْنَ الْحَضْرَمِيِّ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ ثَلاَثٌ لِلْمُهَاجِرِ بَعْدَ الصَّدَرِ ‏"‏‏.‏
Reference : Sahih al-Bukhari 3933
In-book reference : Book 63, Hadith 158
USC-MSA web (English) reference : Vol. 5, Book 58, Hadith 270
  (deprecated numbering scheme)