Sunan Ibn Majah, Book 36, Hadith 41 (In-Book)

It was narrated from Abu Umamah that the Messenger of Allah said: “Among the worst people in status before Allah on the Day of Resurrection will be a person who loses his Hereafter for the sake of this world.”

حَدَّثَنَا سُوَيْدُ بْنُ سَعِيدٍ، حَدَّثَنَا مَرْوَانُ بْنُ مُعَاوِيَةَ، عَنْ عَبْدِ الْحَكَمِ السَّدُوسِيِّ، حَدَّثَنَا شَهْرُ بْنُ حَوْشَبٍ، عَنْ أَبِي أُمَامَةَ، أَنَّ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ قَالَ ‏ "‏ مِنْ شَرِّ النَّاسِ مَنْزِلَةً عِنْدَ اللَّهِ يَوْمَ الْقِيَامَةِ عَبْدٌ أَذْهَبَ آخِرَتَهُ بِدُنْيَا غَيْرِهِ ‏" ‏ ‏.‏

sunnah.com