حَدَّثَنَا مُعَاذٌ قَالَ : نَا عَلِيٌّ قَالَ : نَا عِمْرَانُ قَالَ : سَمِعْتُ الْحَكَمَ ، يُحَدِّثُ ، عَنْ عِكْرِمَةَ ، عَنِ ابْنِ عَبَّاسٍ قَالَ : قَالَ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ: مَنْ بَنَى مَسْجِدًا يَرَاهُ اللهُ بَنَى اللهُ لَهُ بَيْتًا فِي الْجَنَّةِ ، فَإِنْ مَاتَ مِنْ يَوْمِهِ غُفِرَ لَهُ ، وَمَنْ حَفَرَ قَبْرًا يَرَاهُ اللهُ بَنَى اللهُ لَهُ بَيْتًا فِي الْجَنَّةِ ، وَإِنْ مَاتَ مِنْ يَوْمِهِ غُفِرَ لَهُ .
لَمْ يَرْوِ هَذَيْنِ الْحَدِيثَيْنِ عَنِ الْحَكَمِ إِلَّا عِمْرَانُ ، تَفَرَّدَ بِهِمَا : عَلِيُّ بْنُ عُثْمَانَ .
It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever builds a mosque for Allah to see (that is, purely for Allah's pleasure), Allah will build for him a house in Paradise; and if he dies that same day, he is forgiven. And whoever digs a grave for Allah to see, Allah will build for him a house in Paradise; and if he dies that same day, he is forgiven."
Imam al-Tabarani (may Allah have mercy on him) said: "No one narrated these two hadiths from al-Hakam except Imran; Ali bin Uthman is alone in narrating both of them."