Conditions for Jumuah Salaah

Minimum number of people for Jumuah Salaah to be valid

Q: The masjid in our area is fairly new. We have, for Jumu'ah, about just over a dozen musallis. It is a mixed congregation of Shaafi and Hanafi. Our imaam for Salaah passed away in September. Since then, while we are looking into appointing a new Imaam, we have invited other Ulama to conduct Jumuah. 

The last imam who came, informed us that our Jumuah is problematic as per Imam Shaafi, there should be at least 40 men. 

Is it correct? Or can we continue with Jumuah Salaah?

Performing Jumuah Salaah in the homes

Q: In the country where I live, many masaajid have been closed to the public and people are not allowed to perform salaah in the masaajid. Hence, in such a situation, can jumuah salaah be performed in people’s homes? If it is permissible, then apart from the two khutbahs that have to be recited before the salaah, what are the other important conditions required for the jumuah salaah to be valid?