كتاب الحج
15  
The Book of Pilgrimage
(81)
Chapter: It is permissible for the one who emigrated from Makkah to stay there for three days after completing Hajj and 'Umrah, and no more than that
(81)
باب جَوَازِ الإِقَامَةِ بِمَكَّةَ لِلْمُهَاجِرِ مِنْهَا بَعْدَ فَرَاغِ الْحَجِّ وَالْعُمْرَةِ ثَلاَثَةَ أَيَّامٍ بِلاَ زِيَادَةٍ
Sahih Muslim 1352 d

Al-" Ala' b. al-Hadrami reported Allah's Messenger (ﷺ) as saying:

The stay at Mecca after the completion of his rituals (of Hajj) is only for three days.
وَحَدَّثَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ، أَخْبَرَنَا عَبْدُ الرَّزَّاقِ، أَخْبَرَنَا ابْنُ جُرَيْجٍ، وَأَمْلاَهُ، عَلَيْنَا إِمْلاَءً أَخْبَرَنِي إِسْمَاعِيلُ بْنُ مُحَمَّدِ بْنِ سَعْدٍ، أَنَّ حُمَيْدَ بْنَ عَبْدِ الرَّحْمَنِ بْنِ عَوْفٍ، أَخْبَرَهُ أَنَّ السَّائِبَ بْنَ يَزِيدَ أَخْبَرَهُ أَنَّ الْعَلاَءَ بْنَ الْحَضْرَمِيِّ أَخْبَرَهُ عَنْ رَسُولِ اللَّهِ صلى الله عليه وسلم قَالَ ‏ "‏ مَكْثُ الْمُهَاجِرِ بِمَكَّةَ بَعْدَ قَضَاءِ نُسُكِهِ ثَلاَثٌ ‏"‏ ‏.‏
Reference : Sahih Muslim 1352d
In-book reference : Book 15, Hadith 504
USC-MSA web (English) reference : Book 7, Hadith 3137
  (deprecated numbering scheme)