“And remember, We did take a solemn pledge from all the Prophets, and from you (O Prophet), as well as from Noah, and Abraham, and Moses, and Jesus son of Mary.  We took from them a very solemn pledge, so that [at the end of time] She might ask those men of truth as to [what response] their truthfulness [had received on earth].”

Quran 33.07