Surah 40

Surah 40:34

"Certainly Joseph brought you the clear signs before, but you did not stop doubting about what he brought you, until, when he perished, you said, “God will never raise up a messenger after him.” In this way God leads astray anyone who is wanton (and) a doubter.’"