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.

Jami` at-Tirmidhi

أَبْوَابُ السَّفَرِ

The Book on Traveling

Chapter 6Hadith 579

حَدَّثَنَا قُتَيْبَةُ، حَدَّثَنَا مُحَمَّدُ بْنُ يَزِيدَ بْنِ خُنَيْسٍ، حَدَّثَنَا الْحَسَنُ بْنُ مُحَمَّدِ بْنِ عُبَيْدِ اللَّهِ بْنِ أَبِي يَزِيدَ، قَالَ قَالَ لِي ابْنُ جُرَيْجٍ يَا حَسَنُ أَخْبَرَنِي عُبَيْدُ اللَّهِ بْنُ أَبِي يَزِيدَ، عَنِ ابْنِ عَبَّاسٍ، قَالَ جَاءَ رَجُلٌ إِلَى النَّبِيِّ صلى الله عليه وسلم فَقَالَ يَا رَسُولَ اللَّهِ إِنِّي رَأَيْتُنِي اللَّيْلَةَ وَأَنَا نَائِمٌ كَأَنِّي أُصَلِّي خَلْفَ شَجَرَةٍ فَسَجَدْتُ فَسَجَدَتِ الشَّجَرَةُ لِسُجُودِي فَسَمِعْتُهَا وَهِيَ تَقُولُ اللَّهُمَّ اكْتُبْ لِي بِهَا عِنْدَكَ أَجْرًا وَضَعْ عَنِّي بِهَا وِزْرًا وَاجْعَلْهَا لِي عِنْدَكَ ذُخْرًا وَتَقَبَّلْهَا مِنِّي كَمَا تَقَبَّلْتَهَا مِنْ عَبْدِكَ دَاوُدَ ‏.‏ قَالَ الْحَسَنُ قَالَ لِي ابْنُ جُرَيْجٍ قَالَ لِي جَدُّكَ قَالَ ابْنُ عَبَّاسٍ فَقَرَأَ النَّبِيُّ صلى الله عليه وسلم سَجْدَةً ثُمَّ سَجَدَ ‏.‏ قَالَ فَقَالَ ابْنُ عَبَّاسٍ فَسَمِعْتُهُ وَهُوَ يَقُولُ مِثْلَ مَا أَخْبَرَهُ الرَّجُلُ عَنْ قَوْلِ الشَّجَرَةِ ‏.‏ قَالَ وَفِي الْبَابِ عَنْ أَبِي سَعِيدٍ ‏.‏ قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ غَرِيبٌ مِنْ حَدِيثِ ابْنِ عَبَّاسٍ لاَ نَعْرِفُهُ إِلاَّ مِنْ هَذَا الْوَجْهِ ‏.‏

Ibn Juraij said to me: O Hasan! Ubaidullah bin Abi Yazid informed me that Ibn Abbas said: "A man came to the Prophet and said: 'O Messenger of Allah! I had a dream at night while I was sleeping in which I was praying behind a tree, when I prostrated the tree prostrated along with me. Then I heard it saying: (Allahummaktuh li biha indaka ajran, wad a anni biha wizran, waj'alha li biha indaka dhukhran, wa taqabbalha minni kama taqabbaltaha min abdiki Dawud.)" (O Allah! Record for me, a reward with You for it, remove a sin for me by it, and store it away for me with You, and accept it from me as You accepted it from Your worshipper Dawud). Al-Hasan said: "Ibn Juraij said to me: 'Your grandfather said to me: 'Ibn Abbas said: 'So the Prophet recited (an Ayah of) prostration then prostrated.'" (He said) "So Ibn Abbas said: 'I listened to him, and he was saying the same as the man informed that the tree had said.'"

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.