Al-Kāfi

Hadith 1381
imam-mahdioccultation
25ـ عَلِيُّ بْنُ مُحَمَّدٍ عَنْ مُحَمَّدِ بْنِ صَالِحٍ قَالَ كَانَتْ لِي جَارِيَةٌ كُنْتُ مُعْجَباً بِهَا فَكَتَبْتُ أَسْتَأْمِرُ فِي اسْتِيلادِهَا فَوَرَدَ اسْتَوْلِدْهَا وَيَفْعَلُ الله مَا يَشَاءُ فَوَطِئْتُهَا فَحَبِلَتْ ثُمَّ أَسْقَطَتْ فَمَاتَتْ.
25. Ali ibn Muhammad has narrated from Muhammad ibn Salih who has said the following. “I had a female slave that had attracted my attention. I wrote to him (Imam al-Mahdi (a.s.) requesting permission to have a child from her. The answer came, “You may do so but Allah does whatever He wants.” I went to bed with her and she became pregnant. The fetus fell off prematurely and she died.”
Source: Shaykh Muḥammad b. Yaʿqūb al-Kulaynī