Sahih al-Bukhari — Merits of the Helpers in Madinah (Ansaar) — Hadith No: 3933
Translation
Narrated `Abdur-Rahman bin Humaid Az-Zuhri:I heard `Umar bin `Abdul-Aziz asking As-Sa'ib, the nephew of An-Namir, "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)