The Prophet ﷺ said, "Allah will question the servant on the Day of Resurrection, even asking him, 'My servant, you saw something wrong and did not denounce it.' When Allah inspires the servant with his answer, he will say, 'My Lord, I placed my trust in You and feared the people.'"
عن النبي ﷺ قال: إن الله ليسأل العبد يوم القيامة، حتى إنه ليسأله يقول: أي عبدي، رأيت منكرا فلم تنكره، فإذا لقي الله عبدا حجته قال: يا رب وثقت بك، وخفت الناس.
Ibn Majah (4017) and Ahmad (11735) narrated it, and Ibn Hibban graded it sahih (7368), all of them from the hadith of Yahya bin Saeed, from Abdullah bin Abdul-Rahman Ansari, from Nahar Abdi, from Abu Saeed, who mentioned it.Its chain is hasan because of Nahar Abdi, for he is hasan al-hadith. Abu Bakhtari also narrated something similar from Abu Saeed Khudri, narrated by Ahmad (11699), but Abu Bakhtari did not hear directly from Abu Saeed.Ali bin Abu Talib said, "Know that enjoining what is right and forbidding what is wrong neither cuts off provision nor brings death nearer." Ibn Abu Hatim narrated it in his Tafsir (4/1166–1167).