It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that he said: "Allah Almighty took the covenant of the prophets (peace be upon them) over their peoples."
Hadith Referenceالأحاديث المختارة / عبد الله بن عباس بن عبد المطلب / 3602
Hadith Takhrij«أخرجه الطبراني فى الكبير برقم: 12385»