Sunan Ibn Majah, Book 36, Hadith 92 (Ibn Majah 4020)

Abu Sa’eed Al-Khudri said:

“I heard the Messenger of Allah (ﷺ) say: ‘Allah will question His slave on the Day of Resurrection, until He says: “What kept you from denouncing evil when you saw it?” When Allah grants His slave a response, he will say: “O Lord, I hoped for Your mercy but I feared the people.”