وَإِذْ أَخَذَ ٱللَّهُ مِيثَٰقَ ٱلنَّبِيِّۦنَ لَمَآ ءَاتَيْتُكُم مِّن كِتَٰبٍۢ وَحِكْمَةٍۢ ثُمَّ جَآءَكُمْ رَسُولٌۭ مُّصَدِّقٌۭ لِّمَا مَعَكُمْ لَتُؤْمِنُنَّ بِهِۦ وَلَتَنصُرُنَّهُۥ ۚ قَالَ ءَأَقْرَرْتُمْ وَأَخَذْتُمْ عَلَىٰ ذَٰلِكُمْ إِصْرِى ۖ قَالُوٓا۟ أَقْرَرْنَا ۚ قَالَ فَٱشْهَدُوا۟ وَأَنَا۠ مَعَكُم مِّنَ ٱلشَّٰهِدِينَ
And [recall, O People of the Scripture], when Allah 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." [Allah] 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."
Allah then explained His covenant with the prophets on the day of �Yes, indeed!� regarding Muhammad's traits and description, saying: (When Allah made (His) covenant with the Prophets) He says: Allah made a covenant with the prophets that they will show to one another the traits, description and merit of Muhammad, ((He said): Behold that which I have given ye) when I did give you (of the Scripture and knowledge) containing details of the lawful and the unlawful. (And) you also made a covenant with your nation that (afterward there will come unto you a messenger, confirming) by calling to Allah's divine Oneness (that which ye possess) of Scripture. (Ye shall believe in him) He says: you shall acknowledge him and his virtue (and ye shall help him) with the sword against his enemies and also by expositing his trait. (He said: Do ye agree?) Allah asked them whether they accepted (and will you take My burden) My covenant (in this) what I said? (They) the prophets (answered: We agree) we accept. (He) Allah (said: Then bear ye witness) of this. (I will be a witness with you) of this also. Allah thus made them witnesses of one another and He Himself is a witness. And so each prophet explained this to his nation, and each prophet made the members of his nation witnesses for each other, just as each prophet bore witness to it.