Al-Kāfi - Volume 6 > Prayer and Appeal before Allah for a Son
Hadith #11

عِدَّةٌ مِنْ أَصْحَابِنَا عَنْ سَهْلِ بْنِ زِيَادٍ عَنْ مُوسَى بْنِ جَعْفَرٍ عَنْ عَمْرِو بْنِ سَعِيدٍ عَنْ مُحَمَّدِ بْنِ عَمْرٍو قَالَ لَمْ يُولَدْ لِي شَيْ‏ءٌ قَطُّ وَ خَرَجْتُ إِلَى مَكَّةَ وَ مَا لِي وَلَدٌ فَلَقِيَنِي إِنْسَانٌ فَبَشَّرَنِي بِغُلَامٍ فَمَضَيْتُ وَ دَخَلْتُ عَلَى أَبِي الْحَسَنِ ( عليه السلام ) بِالْمَدِينَةِ فَلَمَّا صِرْتُ بَيْنَ يَدَيْهِ قَالَ لِي كَيْفَ أَنْتَ وَ كَيْفَ وَلَدُكَ فَقُلْتُ جُعِلْتُ فِدَاكَ خَرَجْتُ وَ مَا لِي وَلَدٌ فَلَقِيَنِي جَارٌ لِي فَقَالَ لِي قَدْ وُلِدَ لَكَ غُلَامٌ فَتَبَسَّمَ ثُمَّ قَالَ سَمَّيْتَهُ قُلْتُ لَا قَالَ سَمِّهِ عَلِيّاً فَإِنَّ أَبِي كَانَ إِذَا أَبْطَأَتْ عَلَيْهِ جَارِيَةٌ مِنْ جَوَارِيهِ قَالَ لَهَا يَا فُلَانَةُ انْوِي عَلِيّاً فَلَا تَلْبَثُ أَنْ تَحْمِلَ فَتَلِدَ غُلَاماً .

11. A number of our people have narrated from Sahl ibn Ziyad from Musa ibn Ja‘far from ‘Amr ibn Sa‘id from Muhammad ibn ‘Umar [‘Amr] who has said the following: “I never had a child . I went to Makkah and did not have any children. A man met me and gave good news of the birth of a boy to me. I then went on and visited Ali ibn al-Husayn, ‘Alayhi al-Salam. When I went before him (the Imam), he (the Imam) asked, ‘How are you and how is your son?’ I said, ‘I pray to Allah to keep my soul in service for your cause, I left home but I did not have a son. My neighbor met me and said, “A boy is born to you .’” He (the Imam) smiled and asked, ‘Have you given him a name?’ I replied, ‘No, I have not given him a name.’ He (the Imam) said, ‘Name him Ali; whenever a delay would take place in giving birth of any of my father’s girls he would ask her to keep her intention to name him Ali, then without much delay she would give birth to a boy.’”