Abu Hurairah reported,

The Messenger of Allah ﷺ said, "There are three to whom Allah will not look on the Day of Resurrection, nor will He purify them, and they shall have a painful punishment.A man who has surplus water by the road and withholds it from a traveler.A man who pledges allegiance to a leader only for worldly gain, so if he is given some of it he is pleased, and if he is not given any of it he is angry.And a man who displays his merchandise after the afternoon prayer and says, 'By Allah, besides whom there is no god, I was offered such and such a price for it,' and another man believes him."Then he recited this verse, "Indeed, those who exchange the covenant of Allah and their oaths for a small price" [Al Imran 3:77].

Azami 410

Sahih

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

قال رسول الله ﷺ: ثلاثة لا ينظر الله إليهم يوم القيامة، ولا يزكيهم ولهم عذاب أليم: رجل كان له فضل ماء بالطريق فمنعه من ابن السبيل، ورجل بايع إماما لا يبايعه إلا لدنيا، فإن أعطاه منها رضي وإن لم يعطه منها سخط، ورجل أقام سلعته بعد العصر فقال: والله الذي لا إله غيره، لقد أعطيت بها كذا وكذا، فصدقه رجل، ثم قرأ هذه الآية: {إن الذين يشترون بعهد الله وأيمنهم ثمن قليلا} [سورة آل عمران ٧٧].

الأعظمي 410صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Faith in Allah عز وجل
Section
Those whom Allah will not speak to on the Day of Resurrection, nor look at them, and for them is a painful punishment
Numbering
Jami al-Kamil 410 (2nd edition)
Azami 410