AHMAD 11596:
from Abū Saʿīd al-Khudrī —
[Machine] The Prophet ﷺ said regarding the captives of war: "No captive should be assaulted if she is pregnant." He said, "And no captive should be assaulted until she becomes pure from menstruation." Yahya added, "Or she is cleansed from menstruation."
أحمد ١١٥٩٦:
عن ابو سعيد الخدري —
أَنَّ رَسُولَ اللهِ ﷺ قَالَ فِي سَبْيِ أَوْطَاسٍ لَا تُوطَأُ حَامِلٌ قَالَ أَسْوَدُ حَتَّى تَضَعَ وَلَا غَيْرُ حَامِلٍ حَتَّى تَحِيضَ حَيْضَةً قَالَ يَحْيَى أَوْ تُسْتَبْرَأُ بِحَيْضَةٍ
hadithunlocked.com