The Book On The Mosques And The Congregations
كتاب المساجد والجماعات
Chapter 1: One Who Builds A Mosque For The Sake Of Allah
"The Messenger of Allah said: 'Whoever builds a mosque for the sake of Allah (from his own wealth), Allah will build a house for him in Paradise.'"
Chapter 3: Where It Is Permissible To Build Mosque
The Messenger of Allah commanded him to build the mosque of Ta'if in the place where the Taghuts used to be.
Chapter 4: Places Where it Is Disliked To Perform Prayer
The Messenger of Allah said: "There are seven places where it is not permissible to perform the prayer: The top of the House of Allah; graveyards; garbage dumps; slaughterhouses; bathrooms; the area that camels rest, and the main road."
Chapter 6: Sleeping In The Mosque
"We used to sleep in the mosque at the time of the Messenger of Allah."
"The Messenger of Allah said to us: 'Come with me.' So we went to the house of 'Aishah, where we ate and drank. Then the Messenger of Allah said to us: 'If you want, you can sleep here, or if you want you can go out to the mosque.' We said: 'We will go out to the mosque.'"
Chapter 8: Mosques In Houses
'Itban bin Malik As-Salimi who was the chief of his people Banu Salim and had participated in (the battle of) Badr with the Messenger of Allah said: "I came to the Messenger of Allah and said: 'O Messenger of Allah, my sight is failing and the flood comes and prevents me from reaching the mosque of my people, and it is too hard for me to cross the water. Do you think you could come and perform prayer in my house in a place which I can then take as a place of prayer?' He said: 'I will do that.' The following day, the Messenger of Allah and Abu Bakr came, when the heat of the day had grown intense. He asked permission to enter, and I gave him permission. He did not sit down until he said: 'Where would you like me to perform prayer for you in your house?' I showed him the place where I wanted him to pray, so the Messenger of Allah stood and we lined up behind him, and he led us in praying two Rak'ah (units). Then I asked him to stay and eat some Khazirah that had been prepared for them.'"
Chapter 9: Purifying And Perfuming The Mosque
The Messenger of Allah commanded that mosque to be built in (Ad-Dur) villages, and that they be purified and perfumed.
"The first person who put lamps in the mosque was Tamim Ad-Dari."
Chapter 11: Prohibition Of Making Lost-and-Found Announcements In The Mosque
The Messenger of Allah forbade making lost-and-found announcements in the mosque.
Chapter 12: Prayer In Camels' Resting-Places And Sheep's Resting-Places
"My father told me, from his father that the Messenger of Allah said: 'Do not perform prayer in the camels' resting-places, and perform prayer in the sheep's resting-places.'"
Chapter 13: Supplication When Entering The Mosque
"Whenever the Messenger of Allah entered the mosque he would say: 'Bismillah, was-salamu 'ala Rasulillah, Allahummagh-firli dhunubi waftah li abwaba rahmatika. (In the Name of Allah, and peace be upon the Messenger of Allah. O Allah, forgive me my sins and open to me the gates of Your mercy).' When he left he would say: 'Bismillah, was-salamu 'ala Rasulillah, Allahummagh-firli dhunubi waftah li abwaba fadlika. (In the Name of Allah, and peace be upon the Messenger of Allah. O Allah, forgive me my sins and open to me the gates of Your bounty).'"
Chapter 14: Walking To prayer
"The Messenger of Allah said: 'Give glad tidings, to those who walk to the mosques in the dark, of perfect light on the Day of Resurrection.'"
Chapter 15: The Greater The Distance From The Mosque, The Greater The Reward
"The Messenger of Allah said: 'The greater the distance from the mosque, the greater the reward.'"
"There was a man among the Ansar whose house was the furthest house in Al-Madinah, yet he never missed prayer with the Messenger of Allah. I felt sorry for him and said: 'O so-and-so, why do you not buy a donkey to spare yourself the heat of the scorching sand, to carry over the stony ground, and to keep you away from the vermin on the ground?' He said: 'By Allah! I do not want to live so close to Muhammed.' This troubled me until I came to the house of the Prophet and mentioned that to him. He called (the man) and asked him, and he said something similar, and said that he was hoping for the reward for his steps. The Messenger of Allah said, 'You will have that (reward) that you sought.'"
Chapter 1: One Who Builds A Mosque For The Sake Of Allah
"I heard the Messenger of Allah say: 'Whoever builds a mosque for the sake of Allah, Allah will build something similar for him in Paradise.'"
The Messenger of Allah said: "Whoever builds a mosque for the sake of Allah, like a sparrow's nest for Allah or even smaller, Allah will build for him a house in Paradise."
Chapter 2: Construction Of Lofty Mosque
The Messenger of Allah said: "I see you building your mosque high after I am gone, just as the Jews built their synagogues high and the Christians built their churches high."
The Messenger of Allah said: "No people's deeds ever became evil deeds but they started to adorn their places of worship."
Chapter 3: Where It Is Permissible To Build Mosque
"The location where the Prophet's Mosque was built belonged to Banu Najjar. In it there were date-palm trees and graves of the idolaters. The Prophet said to them: 'Name its price.' They said: 'We will never take any money for it.' The Prophet built it and they were assisting him, and the Prophet was saying: 'The real life is the life of the Hereafter so forgive the Ansar and the Muhajirah.' Before the mosque was built, the Prophet would perform prayer wherever he was when the time for prayer came."
He said: "If it has been watered several times, then perform prayer there," and he attributed that to the Prophet.