[Machine] I was present with Fatimah when she was struck by labor pains in women, so the Prophet ﷺ came to us and said, "How is she?" I said, "Indeed, she is in labor, O Messenger of Allah." He said, "When she gives birth, do not precede me in doing anything." She gave birth, and they cleaned and wrapped him in a yellow cloth. Then the Messenger of Allah ﷺ came and said, "What have you done?" I said, "She has given birth to a boy, and I wrapped him in a cloth." He said, "You have disobeyed me." She said, "I seek refuge in Allah from the disobedience of Allah and the anger of His Messenger." He said, "Bring him to me." So I brought him to him, and he threw away the yellow cloth and wrapped him in a white cloth, and he put his saliva in his mouth and uttered the call to prayer (adhan) in his ear. Then Ali came and said, "What have you named him, O Ali?" He said, "I named him Ja'far, O Messenger of Allah." He said, "No, but Hasan, and after him, Husain, and you are Abu Hasan, the good."
كُنْتُ فِيمَنْ حَضَرَ فَاطِمَةَ ؓ حِينَ ضَرَبَهَا الْمَخَاضُ فِي نِسْوَةٍ فَأَتَانَا النَّبِيُّ ﷺ فَقَالَ «كَيْفَ هِيَ؟» قُلْتُ إِنَّهَا لَمَجْهُودَةٌ يَا رَسُولَ اللهِ قَالَ «فَإِذَا هِيَ وَضَعَتْ فَلَا تَسْبِقِينِي فِيهِ بِشَيْءٍ» قَالَتْ فَوَضَعَتْ فَسَرُّوهُ ولَفّفُوهُ فِي خِرْقَةٍ صَفْرَاءَ فَجَاءَ رَسُولُ اللهِ ﷺ فَقَالَ «مَا فَعَلَتْ؟» قُلْتُ قَدْ وَلَدَتْ غُلَامًا وسَرَرْتُهُ ولفَفْتُهُ فِي خِرْقَةٍ قَالَ «عَصَيْتِنِي» قَالَتْ أَعُوذُ بِاللهِ مِنْ مَعْصِيَةِ اللهِ وَمِنْ غَضَبِ رَسُولِهِ قَالَ «ائْتِينِي بِهِ» فَأَتَيْتُهُ بِهِ فَأَلْقَى الْخِرْقَةَ الصَّفْرَاءَ ولَفَّهُ فِي خِرْقَةٍ بَيْضَاءَ وَتَفَلَ فِي فِيهِ وأَلْبَأَهُ بِرِيقِهِ فَجَاءَ عَلِيٌّ ؓ فَقَالَ «مَا سَمَّيْتَهُ يَا عَلِيُّ؟» قَالَ سَمَّيْتُهُ جَعْفَرًا يَا رَسُولَ اللهِ قَالَ «لَا وَلَكِنْ حَسَنٌ وَبَعْدَهُ حُسَيْنٌ وَأَنْتَ أَبُو حَسَنِ الْخَيْرِ»