Sunnah in salah
"As-salamu alaykum,
I have a question regarding the Maliki madhhab. If someone performs few sunnahs or leaves out all the sunnahs during the obligatory prayer (like did not say the second surah after Al-Fatiha), does this invalidate the prayer? Or does the prayer remain valid as long as the obligatory pillars (fara'id) are fulfilled?
Thank you very much