Abu Hurairah reported,

The Messenger of Allah ﷺ said, "There are three whom Allah عز وجل will not speak to on the Day of Resurrection, nor will He look at them, nor will He purify them, and they will have a painful punishment. A man who has surplus water in the desert and withholds it from a traveler. A man who sells goods to another after the afternoon prayer and swears by Allah that he paid such-and-such a price for them, so the buyer believes him, though it is not so. And a man who pledges allegiance to a ruler only for worldly gain, so if the ruler grants him something from it, he honors the pledge, but if he gives him nothing, he does not."

Ibn Majah 2207

Sahih

حدثنا أبو بكر بن أبي شيبة وعلي بن محمد وأحمد بن سنان قالوا حدثنا أبو معاوية عن الأعمش عن أبي صالح

عن أبي هريرة قال

قال رسول الله ﷺ ثلاثة لا يكلمهم الله عز وجل يوم القيامة ولا ينظر إليهم ولا يزكيهم ولهم عذاب أليم رجل على فضل ماء بالفلاة يمنعه ابن السبيل ورجل بايع رجلا سلعة بعد العصر فحلف بالله لأخذها بكذا وكذا فصدقه وهو على غير ذلك ورجل بايع إماما لا يبايعه إلا لدنيا فإن أعطاه منها وفى له وإن لم يعطه منها لم يف له

ابن ماجه 2207صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Trade
Chapter
Disliking oaths in buying and selling
Numbering
Darussalam 2207
Ibn Majah 2207