Salaah

Hanafi performing sajdah tilaawat in Surah Hajj behind a Shaafi imaam

Q: If a Hanafi performs salaah behind a shaafi imaam, and the shaafi imaam recites the aayat of sajdah on the last page of surah hajj (which is an aayat of sajdah according to the shaafis and not the hanafis), then the shaafi imaam goes into sajdah and the Hanafi muqtadi follows him in sajdah, then what is the status of the hanafi muqtadi’s salaah? Is his salaah valid or does he have to repeat his salaah?

Gap of 3 saffs between two saffs

Q: If in congregational prayers and Jumu'ah and Eidain, the Imam is in the indoor hall of the masjid and saffs are made behind him and the door of the hall is closed but not locked and saffs are also made outside, but there is a distance of 3 saffs between the last indoor saff and the first outdoor saff, are the congregational prayers or Jumu'ah or Eidain prayers valid?