Sajdah-e-Tilaawat

Hanafi Imaam reciting an Aayat of Sajdah according to Imaam Shafi'ee

Q: If a hanafi Imaam recites an Aayat of sajdah (that is according to Imam shaafi'ee Rahimahullah and not according to Imam Abu Hanifah Rahimahullah e.g: The Aayat of sajdah that appears at the end of the 17th juz) in salaah, and he is followed by muqtadis of the different mazhaahib, then what should he do in this situation. If he doesn't make sajdah will their salaah be valid? Is there a solution to this?