Abdul-Rahman bin Humayd reported,

I heard Umar bin Abdul-Aziz ask Saaib, the nephew of Namir, "What have you heard about residing in Makkah?"He replied, "I heard Ala bin Hadrami say that the Messenger of Allah ﷺ said, 'A migrant may stay three days after completing the rites.'"

Bukhari 3933

Sahih

حدثني إبراهيم بن حمزة حدثنا حاتم

عن عبد الرحمن بن حميد الزهري قال

سمعت عمر بن عبد العزيز يسأل السائب ابن أخت النمر ما سمعت في سكنى مكة قال سمعت العلاء بن الحضرمي قال قال رسول الله ﷺ ثلاث للمهاجر بعد الصدر

البخاري 3933صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Virtues of the Ansar
Chapter
Prophet's ﷺ and his companions' arrival in Madinah
Numbering
Darussalam 3933
Bukhari 3933