In Sahīh Muslim, Salmān ibn Rabīʿa reported that ʿUmar, may Allah be pleased with him, said: “The Prophet, peace and blessings be upon him, distributed some wealth. I said, ‘O Messenger of Allah, by Allah, others are more entitled to it than these people.’ He replied, ‘They have left me to choose between their asking me offensively and their accusing me of miserliness, and I am not miserly.’” He means: “They make an improper request of me. Either I give them what they ask, or they say, ‘He is miserly.’ Thus, they leave me no escape from one of two objectionable things: an offensive request or an accusation of miserliness. The accusation of miserliness is worse, so I avert the worse of the two by giving to them.”
Miserliness is a general category encompassing different kinds, some of which are major sins and some of which are not. Allah Most High says:
“Let not those who are miserly with what Allah has given them of His bounty think that it is good for them. Rather, it is bad for them. On the Day of Resurrection, what they withheld will be hung around their necks.”
Surah Āl ʿImrān, 180