وَإِذْ أَخَذَ ٱللَّهُ مِيثَـٰقَ ٱلنَّبِيِّـۧنَ لَمَآ ءَاتَيْتُكُم مِّن كِتَـٰبٍ وَحِكْمَةٍ ثُمَّ جَآءَكُمْ رَسُولٌ مُّصَدِّقٌ لِّمَا مَعَكُمْ لَتُؤْمِنُنَّ بِهِۦ وَلَتَنصُرُنَّهُۥ ۚ قَالَ ءَأَقْرَرْتُمْ وَأَخَذْتُمْ عَلَىٰ ذَٰلِكُمْ إِصْرِى ۖ قَالُوٓا۟ أَقْرَرْنَا ۚ قَالَ فَٱشْهَدُوا۟ وَأَنَا۠ مَعَكُم مِّنَ ٱلشَّـٰهِدِينَ
wa-idh akhadha l-lahu mīthāqa l-nabiyīna lamā ātaytukum min kitābin waḥik'matin thumma jāakum rasūlun muṣaddiqun limā maʿakum latu'minunna bihi walatanṣurunnahu qāla a-aqrartum wa-akhadhtum ʿalā dhālikum iṣ'rī qālū aqrarnā qāla fa-ish'hadū wa-anā maʿakum mina l-shāhidīna
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."
God took a pledge from the prophets, saying, ‘If, after I have bestowed Scripture and wisdom upon you, a messenger comes confirming what you have been given, you must believe in him and support him. Do you affirm this and accept My pledge as binding on you?’ They said, ‘We do.’ He said, ‘Then bear witness and I too will bear witness.’
And (remember) when Allâh took the Covenant of the Prophets, saying: "Take whatever I gave you from the Book and Hikmah (understanding of the Laws of Allâh), and afterwards there will come to you a Messenger (Muhammad صلى الله عليه وسلم) confirming what is with you; you must, then, believe in him and help him." Allâh said: "Do you agree (to it) and will you take up My Covenant (which I conclude with you)?" They said: "We agree." He said: "Then bear witness; and I am with you among the witnesses (for this)."

