Hadith Details

Discover timeless wisdom from the authentic teachings of Prophet Muhammad (peace be upon him). Read this hadith in Arabic and English, share it with others, or explore related narrations from the same chapter.

Sahih Muslim

كتاب الْمَسَاجِدِ وَمَوَاضِعِ الصَّلاَةِ

The Book of Mosques and Places of Prayer

Chapter 5Hadith 524a

"‏ يَا بَنِي النَّجَّارِ ثَامِنُونِي بِحَائِطِكُمْ هَذَا ‏"

The Messenger of Allah (ﷺ) came to Medina and stayed in the upper part of Medina for fourteen nights with a tribe called Banu 'Amr b 'Auf. He then sent for the chiefs of Banu al-Najir, and they came with swords around their inecks. He (the narrator) said: I perceive as if I am seeing the Messenger of Allah (ﷺ) on his ride with Abu Bakr behind him and the chiefs of Banu al-Najjar around him till he alighted in the courtyard of Abu Ayyub. He (the narrator) said: The Messenger of Allah (ﷺ) said prayer when the time came for prayer, and he prayed in the fold of goats and sheep. He then ordered mosques to be built and sent for the chiefs of Banu al-Najjar, and they came (to him). He (the Holy Prophet) said to them: O Banu al-Najjar, sell these lands of yours to me. They said: No, by Allah. we would not demand their price, but (reward) from the Lord. Anas said: There (in these lands) were trees and graves of the polytheists, and ruins. The Messenger of Allah (may peace he upon him) ordered that the trees should be cut, and the graves should be dug out, and the ruins should be levelled. The trees (were thus) placed in rows towards the qibla and the stones were set on both sides of the door, and (while building the mosque) they (the Companions) sang rajaz verses along with the Messenger of Allah (ﷺ): O Allah: there is no good but the good of the next world, So help the Ansar and the Muhajirin.

Get Random Hadith

Other hadiths from the same chapter

Explore Hadith Collections

Discover more authentic hadiths from major Islamic collections.

View all books

Hadith Questions & Answers

Common questions about reading, sharing, and understanding Islamic hadith.

What is hadith in Islam?
A hadith is a narration of what Prophet Muhammad (peace be upon him) said, did, or approved. Hadith complement the Quran and help Muslims understand how to practice their faith in daily life. Each entry on Random Hadith shows the Arabic text, English translation, and full citation so you can read and verify the source.
How can I share this hadith?
Every hadith on Random Hadith has a unique URL with an id parameter, such as randomhadith.com/?id=1234. Copy the address from your browser, use the share options on the page, or bookmark the link to return to the same narration later. Shared links stay fixed so family and friends always see the same text.
Where does this hadith come from?
Each narration displayed on Random Hadith includes its book, chapter, and hadith number. These references point to established Islamic collections such as Sahih al-Bukhari, Sahih Muslim, and the Sunan works. You can use the citation to locate the same report in printed editions or to explore related hadiths from the same chapter on this site.
When Allah wants two hearts to meet, what is the hadith?
A widely quoted teaching states that when Allah wants two people to meet, He makes their paths converge — often summarized as when He wants two hearts to meet, they will meet. Muslims frequently reflect on this narration as a reminder of divine decree (qadar), trust in Allah's plan, and patience regarding relationships and life events. Always verify wording and grading with qualified scholars and authentic sources.