It was narrated from Abu Bakr that he went out for Hajj with the Messenger of Allah ﷺ, and Asma’ bint ‘Umais was with him. She gave birth, at Shajarah, to Muhammad bin Abu Bakr. Abu Bakr came to the Prophet ﷺ and told him about that, and the Messenger of Allah ﷺ told him to tell her to take a bath, then begin the Talbiyah for Hajj, and to do everything that the people did, apart from circumambulating the House (Tawaf).
أَنَّهُ خَرَجَ حَاجًّا مَعَ رَسُولِ اللَّهِ ﷺ وَمَعَهُ أَسْمَاءُ بِنْتُ عُمَيْسٍ فَوَلَدَتْ بِالشَّجَرَةِ مُحَمَّدَ بْنَ أَبِي بَكْرٍ فَأَتَى أَبُو بَكْرٍ النَّبِيَّ ﷺ فَأَخْبَرَهُ فَأَمَرَهُ رَسُولُ اللَّهِ ﷺ أَنْ يَأْمُرَهَا أَنْ تَغْتَسِلَ ثُمَّ تُهِلَّ بِالْحَجِّ وَتَصْنَعَ مَا يَصْنَعُ النَّاسُ إِلاَّ أَنَّهَا لاَ تَطُوفُ بِالْبَيْتِ