It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "It is sufficient for a person, when he sees an evil that he does not have the power to change, that Allah knows that he detests it in his heart."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 10495