حَدَّثَنَا مُحَمَّدُ بْنُ حَاتِمٍ، حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ مُوسَى، عَنْ شَيْبَانَ، عَنْ فِرَاسٍ، عَنْ عَطِيَّةَ، عَنِ ابْنِ عُمَرَ، أَنَّمَسْجِدَ النَّبِيِّ، صلى الله عليه وسلم كَانَتْ سَوَارِيهِ عَلَى عَهْدِ رَسُولِ اللَّهِ صلى الله عليه وسلم مِنْ جُذُوعِ النَّخْلِ أَعْلاَهُ مُظَلَّلٌ بِجَرِيدِ النَّخْلِ ثُمَّ إِنَّهَا نَخِرَتْ فِي خِلاَفَةِ أَبِي بَكْرٍ فَبَنَاهَا بِجُذُوعِ النَّخْلِ وَبِجَرِيدِ النَّخْلِ ثُمَّ إِنَّهَا نَخِرَتْ فِي خِلاَفَةِ عُثْمَانَ فَبَنَاهَا بِالآجُرِّ فَلَمْ تَزَلْ ثَابِتَةً حَتَّى الآنَ ‏.‏
Translation
Ibn 'Umar reported

The pillars of the mosque of the Prophet (ﷺ) during the time of the Messenger of Allah (ﷺ) were made of date-palm trunks, and its roof was shaded with date-palm branches. Then they decayed during the caliphate of Abu Bakr, so he rebuilt it with date-palm trunks and date-palm branches. Then they decayed during the caliphate of 'Uthman, so he rebuilt it with baked bricks, and it has remained standing until now.