Surah Al-Ahzab, ayah 7

33:7

وَإِذۡ أَخَذۡنَا مِنَ ٱلنَّبِيِّـۧنَ مِيثَٰقَهُمۡ وَمِنكَ وَمِن نُّوحٖ وَإِبۡرَٰهِيمَ وَمُوسَىٰ وَعِيسَى ٱبۡنِ مَرۡيَمَۖ وَأَخَذۡنَا مِنۡهُم مِّيثَٰقًا غَلِيظٗا ٧

Wa idh akhadhnā minan-nabiyyina mīthāqahum waminka wamin nūhin wa ibrāhīma wamūsā wa'īsabni maryama wa akhadhnā minhum mīthāqan ghalīzā

And [mention, O Muḥammad], when We took from the prophets their covenant and from you and from Noah and Abraham and Moses and Jesus, the son of Mary; and We took from them a solemn covenant