"There are three to whom Allah will not speak on the Day of Resurrection, nor will He look at them or purify them, and theirs will be a painful torment: A man who has surplus water in the desert but refuses to give any to a wayfarer; a man who sells a product to a man after 'Asr and swears by Allah that he bought it for such and such amount, and he believes him, when that is not the case; and a man who swears allegiance to a ruler, and only does so for worldly gains, so if he gives him some of (these worldly benefits) he fulfills his oath of allegiance, and if he is not given anything he does not uphold his oath of allegiance. " (Using translation from Ibn Mājah 2207)
قَالَ رَسُولُ اللهِ ﷺ ثَلَاثَةٌ لَا يُكَلِّمُهُمُ اللهُ وَلَا يُزَكِّيهِمْ وَلَهُمْ عَذَابٌ أَلِيمٌ رَجُلٌ بَايَعَ رَجُلًا سِلْعَةً بَعْدَ الْعَصْرِ فَحَلَفَ لَهُ بِاللهِ لَأَخَذَهَا بِكَذَا وَكَذَا فَصَدَّقَهُ فَأَخَذَهَا وَهُوَ عَلَى غَيْرِ ذَلِكَ وَرَجُلٌ بَايَعَ إِمَامًا لَا يُبَايِعُهُ إِلَّا لِلدُّنْيَا فَإِنْ أَعْطَاهُ مِنْهَا وَفَّى وَإِنْ لَمْ يُعْطِهِ مِنْهَا لَمْ يَفِ لَهُ وَرَجُلٌ عَلَى فَضْلِ مَاءٍ بِالْفَلَاةِ فَيَمْنَعُهُ مِنَ ابْنِ السَّبِيلِ