Tried Prayer and Dua for Conceiving a Child
In the famous book of Shaykh al-Tusi, Misbah al-Mutahajjid, it is narrated from Muhammad ibn Muslim that he transmitted a narration from Imam al-Baqir (as), who said:
Whoever desires the blessing of children should offer a two (2) rak'at salat after the Friday salat, prolonging the ruku' and the sajda, and then say:
اللَّهُمَّ إِنِّي أَسْأَلُكَ بِمَا سَأَلَكَ بِهِ زَكَرِيَّا (ع) إِذْ نَادَاكَ: ﴿رَبِّ لَا تَذَرْنِي فَرْدًا وَأَنْتَ خَيْرُ الْوَارِثِينَ﴾ (1) اللَّهُمَّ فَهَبْ لِي ذُرِّيَّةً طَيِّبَةً، إِنَّكَ سَمِيعُ الدُّعَاءِ، اللَّهُمَّ بِاسْمِكَ اسْتَحْلَلْتُهَا، وَفِي أَمَانَتِكَ أَخَذْتُهَا، فَإِنْ قَضَيْتَ فِي رَحِمِهَا وَلَدًا فَاجْعَلْهُ غُلَامًا مُبَارَكًا زَكِيًّا، وَلَا تَجْعَلْ لِلشَّيْطَانِ فِيهِ نَصِيبًا وَلَا شِرْكًا. (2)
In one of the four books, the great book Man La Yahduruhu al-Faqih, a narration is transmitted from Imam Zayn al-Abidin (as), who said to some of his companions:
To have children, recite this dua:
﴿رَبِّ لَا تَذَرْنِي فَرْدًا وَأَنْتَ خَيْرُ الْوَارِثِينَ﴾ (1) وَاجْعَلْ لِي مِنْ لَدُنْكَ وَلِيًّا يَبَرُّ بِي فِي حَيَاتِي، وَيَسْتَغْفِرُ لِي بَعْدَ وَفَاتِي، وَاجْعَلْهُ خَلْقًا سَوِيًّا، وَلَا تَجْعَلْ لِلشَّيْطَانِ فِيهِ شِرْكًا وَلَا نَصِيبًا، اللَّهُمَّ إِنِّي أَسْتَغْفِرُكَ وَأَتُوبُ إِلَيْكَ، إِنَّكَ أَنْتَ الْغَفُورُ الرَّحِيمُ Recite this dua seventy (70) times,
for the more one recites it, the more Allah the Exalted will grant him, according to his wish, wealth, children, and the good, blessing and benefits of this world and the Hereafter.
For Allah the Exalted declares:
﴿فَقُلْتُ اسْتَغْفِرُوا رَبَّكُمْ إِنَّهُ كَانَ غَفَّارًا يُرْسِلِ السَّمَاءَ عَلَيْكُمْ مِدْرَارًا وَيُمْدِدْكُمْ بِأَمْوَالٍ وَبَنِينَ وَيَجْعَلْ لَكُمْ جَنَّاتٍ وَيَجْعَلْ لَكُمْ أَنْهَارًا﴾ (3، 4)
In the book Usul al-Kafi it is narrated from Imam al-Baqir (as) that he (as) said:
To seek children, every day, morning and evening, say سُبْحَانَ اللَّه seventy (70) times and say istighfar «أَسْتَغْفِرُ ٱللَّٰهَ» یا «أَسْتَغْفِرُ ٱللَّٰهَ رَبِّي وَأَتُوبُ إِلَيْهِ» ten (10) times, then recite the tasbih of Lady Fatima (sa) nine (9) times, and after that say istighfar «أَسْتَغْفِرُ ٱللَّٰهَ» or «أَسْتَغْفِرُ ٱللَّٰهَ رَبِّي وَأَتُوبُ إِلَيْهِ» once.
(That is: say istighfar ten (10) times, then recite the tasbih nine (9) times, and complete it on the tenth time with istighfar.)
After that, recite these words of God:
﴿اسْتَغْفِرُوا رَبَّكُمْ إِنَّهُ كَانَ غَفَّارًا يُرْسِلِ السَّمَاءَ عَلَيْكُمْ مِدْرَارًا وَيُمْدِدْكُمْ بِأَمْوَالٍ وَبَنِينَ وَيَجْعَلْ لَكُمْ جَنَّاتٍ وَيَجْعَلْ لَكُمْ أَنْهَارًا﴾ (5، 6)
References:
1. The Holy Qur'an, Surah al-Anbiya (21), verse 89, page 329.
2. Misbah al-Mutahajjid, Shaykh al-Tusi, p. 378.
3. The Holy Qur'an, Surah Nuh (71), verses 10–12, page 570.
4. Man La Yahduruhu al-Faqih, Shaykh al-Saduq, vol. 3, p. 474.
5. Al-Kafi, Shaykh al-Kulayni, vol. 6, p. 8.
6. Source: the website of His Eminence Shaykh Muhammad Sanqur, may Allah protect him.