Abu al-Malih (may Allah have mercy on him) said: A letter from Umar bin Abd al-Aziz (may Allah have mercy on him) came to us: When the people of a village number forty men, they should pray the Friday prayer.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجمعة / 5610