Imam Sadiq (peace be upon him) said:
“May God curse those who obstruct the path of goodness and benevolence. This refers to someone who, when a good deed is done to them, does not respond appropriately and thus prevents the benefactor from extending their goodness to others.”
Al-Ikhtisas, Hadith 341