Mas’ala 1518الأمShafi'ivol. 1, p. 190vol. 1, p. 190 وَإِذَا أَعْلَمَهُمْ أَنَّهُ أَسْلَمَ قَبْلَ الصَّلَاةِ فَصَلَاتُهُمْ مُجْزِئَةٌ عَنْهُمْ، Read the whole chapterCopy with source On the map: PrayerCompare