Reports describe particular surahs recited by the Prophet in certain prayers. Following a reported preference is different from claiming that all alternative surahs invalidate the prayer. Such exclusivity would need separate evidence.
Opening interactive controls...
Recommended Choices Are Not Exclusive Requirements
Prayer Recitation: Surah Selection, Minimum Amount and Following the Imam
Reports describe particular surahs recited by the Prophet in certain prayers. Following a reported preference is different from claiming that all alternative surahs invalidate the prayer. Such exclusivity would need separate evidence.