In the warm Mediterranean and Middle Eastern climates , the courtyard served to hold the large number of worshippers during Friday prayers .
Historically , in the warm Mediterranean and Middle Eastern climates , the courtyard served to accommodate the large number of worshippers during Friday prayers .