Jabir bin Abdullah reported,

Regarding the Farewell Pilgrimage, he told us that the Messenger of Allah ﷺ set out when five nights remained of Dhu al-Qadah, and we set out with him. When he reached Dhu al-Hulayfah, Asma bint Umays gave birth to Muhammad bin Abu Bakr. She sent word to the Messenger of Allah ﷺ asking, "What should I do?"He replied, "Bathe, fasten a cloth tightly around yourself, then enter the state of ihram."

Nasai 429

Sahih

أخبرنا عمرو بن علي ومحمد بن المثنى ويعقوب بن إبراهيم واللفظ له قال حدثنا يحيى بن سعيد قال حدثنا جعفر بن محمد قال حدثني أبي قال أتينا

جابر بن عبد الله فسألناه

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

النسائي 429صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Ghusl and tayammum
Chapter
Bathing of the postpartum woman before ihram
Numbering
Darussalam 429
Nasai 429