Al-Sa'ib bin Yazid (may Allah be pleased with him) heard al-Ala' bin 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 in Makkah for three days after performing his rites."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 5451