It wasnarrated from Abu Hurairah that the Messenger of Allah (ﷺ)said:
"There are three to whom Allah will not speak on the Day ofResurrection, not will He look at them nor purify them, and theirswill be a painful torment: A man who has surplus water in the desertand withholds it from a wayfarer; a man who sells a man his productafter 'Asr, swearing by Allah that he bought it for such and such aprice, and the other believes him, but that is not the case; and amanwho gives his pledge to a ruler, only doing to for the purpose ofworldly gain, and if he is given something he fulfills it, but if heis not given anything he does not fulfill it."
English reference: Vol. 4, Book 24, Hadith 2870
Arabic reference: Book 24, Hadith 2980