It is narrated from Sayyidah Asma' bint Umays (may Allah be pleased with her): "She gave birth to Muhammad bin Abi Bakr at the place Dhu al-Hulayfah, and Sayyiduna Abu Bakr (may Allah be pleased with him) asked the Prophet (peace and blessings be upon him) (about it), so he (peace and blessings be upon him) ordered him to tell Sayyidah Asma' (may Allah be pleased with her) to take a ritual bath (ghusl) and to call out the Talbiyah with the intention of ihram."
Related hadith on this topic