Jamaat Salaah and Imaamat

Performing salaah behind imaams who shave their beards or wear their pants below the ankles

Q: I am living in Canada and perform salaah in a masjid or musalla where sometimes the salah is led by an Imam whose pants are below his ankle or someone has no beard and I don’t have any other choice. This happened once in a while. Do I have to repeat that salah after the jamaat or will it be okay? If I have to repeat the salah then I can repeat it in the future if this one happens but what about the past salah that I don’t know how many it was.

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?