Hadithcore
Sahih al-Bukhari, 6431
sahih

Narrated Qais:

I came to Khabbab while he was building a wall, and he (Khabbab) said, "Our companions who have left this world, did not enjoy anything of their reward therein, while we have collected after them, much wealth that we cannot spend but on earth (i.e., on building).

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

References2 variants
In-Book Reference
Book 81, Hadith 20
USC-MSA web (English) reference
Vol. 8, Book 76, Hadith 439 (deprecated numbering scheme)