Hadith 12178

(حديث مرفوع) حَدَّثَنَا وَكِيعٌ ، حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ ، عَنْ أَبِي التَّيَّاحِ ، عَنْ أَنَسِ بْنِ مَالِكٍ ، قَالَ : " كَانَ مَوْضِعُ مَسْجِدِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ لِبَنِي النَّجَّارِ ، وَكَانَ فِيهِ نَخْلُ وَقُبُورُ الْمُشْرِكِينَ ، فَقَالَ لَهُمْ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " ثَامِنُونِي بِهِ " ، فَقَالُوا : لَا نَأْخُذُ لَهُ ثَمَنًا ، وَكَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَبْنِيهِ ، وَهُمْ يُنَاوِلُونَهُ ، وَهُوَ يَقُولُ : أَلَا إِنَّ الْعَيْشَ عَيْشُ الْآخِرَهْ فَاغْفِرْ لِلْأَنْصَارِ وَالْمُهَاجِرَهْ ، قَالَ : وَكَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ، يُصَلِّي قَبْلَ أَنْ يُبْنَى الْمَسْجِدُ حَيْثُ أَدْرَكَتْهُ الصَّلَاةُ " .
It is narrated from Hazrat Anas (may Allah be pleased with him) that the place of Masjid Nabawi (peace be upon him) originally belonged to Banu Najjar. There was a tree and some graves of polytheists there. The Prophet (peace be upon him) said to Banu Najjar, "Settle its price with me." They replied, "We will not take its price." The Prophet (peace be upon him) himself participated in the construction of Masjid Nabawi. People would hand bricks to the Prophet (peace be upon him), and the Prophet (peace be upon him) kept saying, "True life is the life of the Hereafter. O Allah! Forgive the Ansar and the Muhajireen." And before the construction of Masjid Nabawi, wherever the time for prayer occurred, the Prophet (peace be upon him) would pray there.
Hadith Reference مسند احمد / مسند المكثرين من الصحابة / 12178
Hadith Grading حکم دارالسلام: إسناده صحيح ، خ : 2747 ، م: 524