Umar bin Abd al-Aziz (may Allah have mercy on him) asked Sayyiduna al-Sa'ib bin Yazid (may Allah be pleased with him): "Have you heard anything about staying in Makkah?" Sayyiduna al-Sa'ib (may Allah be pleased with him) said: I heard al-Hadrami (may Allah be pleased with him) say that the Messenger of Allah (peace and blessings be upon him) said: "The Muhajir may stay three days in Makkah after the departure (from the rites)," as if he (peace and blessings be upon him) were saying: "Not more."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 5452