جماع أَبْوَابِ فَضَائِلِ الْمَسَاجِدِ وَبِنَائِهَا وَتَعْظِيمِهَا
The Chapters on Virtues and Construction of Mosques of Sahih Ibn Khuzaymah has 31 sections and 38 hadith (hadith 1290–1327). Its first sections include: The chapter on the virtue of building mosques for Allah, not for show or reputation; The chapter on the virtue of the mosque, even if small and crowded.
31 sections in the Chapters on Virtues and Construction of Mosques
Chapters on prayer in the other hadith collections.