Ali 'Imran 3:81
وَإِذْ أَخَذَ ٱللَّهُ مِيثَـٰقَ ٱلنَّبِيِّـۧنَ لَمَآ ءَاتَيْتُكُم مِّن كِتَـٰبٍ وَحِكْمَةٍ ثُمَّ جَآءَكُمْ رَسُولٌ مُّصَدِّقٌ لِّمَا مَعَكُمْ لَتُؤْمِنُنَّ بِهِۦ وَلَتَنصُرُنَّهُۥ ۚ قَالَ ءَأَقْرَرْتُمْ وَأَخَذْتُمْ عَلَىٰ ذَٰلِكُمْ إِصْرِى ۖ قَالُوٓا۟ أَقْرَرْنَا ۚ قَالَ فَٱشْهَدُوا۟ وَأَنَا۠ مَعَكُم مِّنَ ٱلشَّـٰهِدِينَ
Wa-ith akhatha Allahumeethaqa annabiyyeena lama ataytukummin kitabin wahikmatin thumma jaakumrasoolun musaddiqun lima maAAakum latu/minunna bihiwalatansurunnahu qala aaqrartum waakhathtumAAala thalikum isree qaloo aqrarnaqala fashhadoo waana maAAakum mina ashshahideen
And [recall, O People of the Scripture], when Allāh took the covenant of the prophets, [saying], "Whatever I give you of the Scripture and wisdom and then there comes to you a messenger confirming what is with you, you [must] believe in him and support him." [Allāh] said, "Have you acknowledged and taken upon that My commitment?" They said, "We have acknowledged it." He said, "Then bear witness, and I am with you among the witnesses."
When Allah made the prophets enter into a covenant: (saying) “If I give you a book and wisdom, then comes to you a messenger verifying what is with you, you shall have to believe in him, and you shall have to support him.” He said, “Do you affirm and accept my covenant in this respect?” They said, “We affirm.” He said, “Then, bear witness, and I am with you among the witnesses.”