The Family Of Imran - 3:81
"Allah had taken a covenant from the Prophets saying: "I will give you the Book and wisdom, then when a messenger comes to you who confirms what is with you, you will believe in him and support him. Have you accepted this and have you promised to fulfill this covenant?"When they said, "We accept,"he said, "Then bear witness, and I am one of those who bear witness with you."
Related:
The Coalition/33:7
We took a covenant (promise) from the Prophets: from you, Noah, Abraham, Moses and Jesus son of Mary. We had taken from them a firm promise.
The Coalition/33:8
So We will ask the righteous about their righteousness. And for the disbelievers a painful torment has been prepared.