It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him): "The two tribes of the Ansar, al-Aws and al-Khazraj, boasted to one another. Al-Aws said: Among us is the eminent figure whom the angels washed, namely Sayyiduna Hanzalah bin al-Rahib (may Allah be pleased with him); among us is the exalted one at whose death the Throne of the Most Merciful shook, namely Sayyiduna Sa'd bin Mu'adh (may Allah be pleased with him); among us is the one whose body was guarded by a swarm of hornets, namely Sayyiduna Asim bin Thabit bin Abi al-Aqlah (may Allah be pleased with him); and among us is the eminent Companion whose testimony alone was accepted as equal to the testimony of two men, namely Sayyiduna Khuzaymah bin Thabit (may Allah be pleased with him). In reply, the Khazrajis said: Among us are four who gathered the whole of the Noble Qur'an in the blessed time of the Messenger of Allah (peace and blessings be upon him), and no one other than them gathered it in this way: they are Sayyiduna Zayd bin Thabit (may Allah be pleased with him), Sayyiduna Abu Zayd (may Allah be pleased with him), Sayyiduna Ubayy bin Ka'b (may Allah be pleased with him) and Sayyiduna Mu'adh bin Jabal (may Allah be pleased with him)."
Imam Abu Ya'la al-Mawsili, Imam al-Bazzar, and Imam al-Tabarani in al-Mu'jam al-Kabir recorded it with a hasan (good) chain. It is in the Sahih in abridged form, and it has already passed in the Book of Tafsir under the chapter: Who gathered the Qur'an.