Jami` at-Tirmidhi, Book 33, Hadith 12 (Tirmidhi 2237)

Hudhaifah bin Al-Yaman narrated that the Prophet (s.a.w) said:

"By the One in Whose Hand is my soul! Either you command good and forbid evil, or Allah will soon send upon you a punishment from Him, then you will call upon Him, but He will not respond to you. "