Mas’ala 1563الأمShafi'ivol. 1, p. 194vol. 1, p. 194 ثُمَّ عَلِمَ أَنَّ إمَامَهُ كَانَ جُنُبًا، أَوْ عَلَى غَيْرِ وُضُوءٍ وَإِنْ كَانَتْ امْرَأَةٌ أَمَّتْ نِسَاءً، Read the whole chapterCopy with source On the map: PrayerCompare