Sunan Ibn Majah, Book 24, Hadith 2980 (In-Book) ⓘ
It was narrated from Abu Hurairah that the Messenger of Allah said: “There are three to whom Allah will not speak on the Day of Resurrection, not will He look at them nor purify them, and theirs will be a painful torment: A man who has surplus water in the desert and withholds it from a wayfarer; a man who sells a man his product after ‘Asr, swearing by Allah that he bought it for such and such a price, and the other believes him, but that is not the case; and a man who gives his pledge to a ruler, only doing to for the purpose of worldly gain, and if he is given something he fulfills it, but if he is not given anything he does not fulfill it.”
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، وَعَلِيُّ بْنُ مُحَمَّدٍ، وَأَحْمَدُ بْنُ سِنَانٍ، قَالُوا حَدَّثَنَا أَبُو مُعَاوِيَةَ، عَنِ الأَعْمَشِ، عَنْ أَبِي صَالِحٍ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " ثَلاَثَةٌ لاَ يُكَلِّمُهُمُ اللَّهُ وَلاَ يَنْظُرُ إِلَيْهِمْ يَوْمَ الْقِيَامَةِ وَلاَ يُزَكِّيهِمْ وَلَهُمْ عَذَابٌ أَلِيمٌ رَجُلٌ عَلَى فَضْلِ مَاءٍ بِالْفَلاَةِ يَمْنَعُهُ مِنِ ابْنِ السَّبِيلِ وَرَجُلٌ بَايَعَ رَجُلاً بِسِلْعَةٍ بَعْدَ الْعَصْرِ فَحَلَفَ بِاللَّهِ لأَخَذَهَا بِكَذَا وَكَذَا فَصَدَّقَهُ وَهُوَ عَلَى غَيْرِ ذَلِكَ وَرَجُلٌ بَايَعَ إِمَامًا لاَ يُبَايِعُهُ إِلاَّ لِدُنْيَا فَإِنْ أَعْطَاهُ مِنْهَا وَفَى لَهُ وَإِنْ لَمْ يُعْطِهِ مِنْهَا لَمْ يَفِ لَهُ " .
also referenced under: Hadith 2870 (Reference) & Volume 4, Book 24, Hadith 2870 (DarusSalam)