Mishkat al-Masabih
Mishkat al-Masabih 3341
Arabic hadith text
وَعَنِ ابْنِ عُمَرَ: أَنَّهُ قَالَ: إِذَا وُهِبَتْ الْوَلِيدَةُ الَّتِي تُوطَأُ أَوْ بِيعَتْ أَوْ أُعْتِقَتْ فَلْتَسْتَبْرِئْ رَحِمَهَا بِحَيْضَةٍ وَلَا تُسْتَبْرَئُ الْعَذْرَاءُ. رَوَاهُمَا رزين
Translation
Ibn Umar said: If a slave girl with whom intercourse has taken place is given as a gift, sold, or freed, she must establish that she is not pregnant by one menstrual period. A virgin does not require this waiting period. Razin transmitted both reports.