Sahih Muslim 2540
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
لاَ تَسُبُّوا أَصْحَابِي لاَ تَسُبُّوا أَصْحَابِي فَوَالَّذِي نَفْسِي بِيَدِهِ لَوْ أَنَّ أَحَدَكُمْ أَنْفَقَ مِثْلَ أُحُدٍ ذَهَبًا مَا أَدْرَكَ مُدَّ أَحَدِهِمْ وَلاَ نَصِيفَهُ "
Abu Huraira reported Allah's Messenger (ﷺ) as saying:
Do not revile my Companions, do not revile my Companions. By Him in Whose Hand is my life, if one amongst you would have spent as much gold as Uhud it would not amount to as much as one much on behalf of one of them or half of it.
Full reference and source
Sahih Muslim 2540 In-book : Book 44, Hadith 316 USC-MSA web (English) : Book 31, Hadith 6167 (deprecated)
View source on Sunnah.com (opens in a new tab)