What is al-Shafi‘i’s view when imam and follower pray different fard prayers?

Whom May One Follow in Prayer? Qualifications and Validity of Imamate