Surah Al-Imran, ayah 81

3:81

وَإِذۡ أَخَذَ ٱللَّهُ مِيثَٰقَ ٱلنَّبِيِّـۧنَ لَمَآ ءَاتَيۡتُكُم مِّن كِتَٰبٖ وَحِكۡمَةٖ ثُمَّ جَآءَكُمۡ رَسُولٞ مُّصَدِّقٞ لِّمَا مَعَكُمۡ لَتُؤۡمِنُنَّ بِهِۦ وَلَتَنصُرُنَّهُۥۚ قَالَ ءَأَقۡرَرۡتُمۡ وَأَخَذۡتُمۡ عَلَىٰ ذَٰلِكُمۡ إِصۡرِيۖ قَالُوٓاْ أَقۡرَرۡنَاۚ قَالَ فَٱشۡهَدُواْ وَأَنَا۠ مَعَكُم مِّنَ ٱلشَّٰهِدِينَ ٨١

Wa idh akhadhallāhu mīthāqan-nabiyyina lamā ātaytukum min kitābin wahikmatin thumma jā'akum rasūlum musaddiqul limā ma'akum latu'minunna bihī walatansurunnahū qāla a'aqrartum wa akhadhtum 'alā dhālikum isrī qālū aqrarnā qāla fashhadū wa ana ma'akum minash-shāhidīn

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?"136 They said, "We have acknowledged it." He said, "Then bear witness, and I am with you among the witnesses."

Footnotes

136 i.e., Have you accepted this obligation?