It is narrated from al-Qasim (may Allah have mercy on him) that Sayyidah Asma' bint Umays (may Allah be pleased with her) gave birth to Muhammad bin Abi Bakr at the place al-Bayda', and Sayyiduna Abu Bakr al-Siddiq (may Allah be pleased with him) mentioned this to the Messenger of Allah (peace and blessings be upon him). He (peace and blessings be upon him) said: "Tell her to take a ritual bath (ghusl), then enter the state of ihram."
Related hadith on this topic