[Machine] The location of the mosque of the Messenger of Allah ﷺ was owned by the tribe of Al-Najjar. It had a field, palm trees, and the graves of the polytheists. The Prophet ﷺ said, "O tribe of Al-Najjar, give it to me for eighty measures of dates." They replied, "We do not seek any price for it except with Allah." So he cut down the palm trees, leveled the field, and dug up the graves of the polytheists. The Prophet ﷺ used to pray where he found himself when it was time for prayer, even in the sheep pens. While they were moving rocks for the construction of the mosque, the Prophet ﷺ used to say, "O Allah, the good is the good of the Hereafter, so forgive the Ansar and the Muhajireen."
كَانَ مَوْضِعُ مَسْجِدِ رَسُولِ اللهِ ﷺ لِبَنِي النَّجَّارِ وَكَانَ فِيهِ حَرْثٌ وَنَخْلٌ وَقُبُورُ الْمُشْرِكِينَ فَقَالَ يَا بَنِي النَّجَّارِ ثَامِنُونِي بِهِ فَقَالُوا لَا نَبْتَغِي بِهِ ثَمَنًا إِلَّا عِنْدَ اللهِ قَالَ فَقَطَعَ النَّخْلَ وَسَوَّى الْحَرْثَ وَنَبَشَ قُبُورَ الْمُشْرِكِينَ قَالَ وَكَانَ نَبِيُّ اللهِ ﷺ قَبْلَ أَنْ يَبْنِيَ الْمَسْجِدَ يُصَلِّي حَيْثُ أَدْرَكَتْهُ الصَّلَاةُ وَفِي مَرَابِضِ الْغَنَمِ وَكَانَ النَّبِيُّ ﷺ يَقُولُ وَهُمْ يَنْقُلُونَ الصَّخْرَ لِبِنَاءِ الْمَسْجِدِ اللهُمَّ إِنَّ الْخَيْرَ خَيْرُ الْآخِرَهْ فَاغْفِرْ لِلْأَنْصَارِ وَالْمُهَاجِرَهْ