Sahih Muslim 2294
The Book of Zakat
وَحَدَّثَنِي هَارُونُ بْنُ سَعِيدٍ الأَيْلِيُّ، حَدَّثَنَا ابْنُ وَهْبٍ، أَخْبَرَنِي عَمْرُو بْنُ الْحَارِثِ، أَنَّ بُكَيْرًا، حَدَّثَهُ عَنْ ذَكْوَانَ، عَنْ أَبِي هُرَيْرَةَ، عَنْ رَسُولِ اللَّهِ صلى الله عليه وسلم أَنَّهُ قَالَ " إِذَا لَمْ يُؤَدِّ الْمَرْءُ حَقَّ اللَّهِ أَوِ الصَّدَقَةَ فِي إِبِلِهِ " . وَسَاقَ الْحَدِيثَ بِنَحْوِ حَدِيثِ سُهَيْلٍ عَنْ أَبِيهِ .
This hadith has been narrated by Abu Huraira through another chain of transmitters:The Messenger of Allah (ﷺ) said:" When a person does not pay what is due to Allah or Sadaqa of his camels...." The rest of the hadith is the same
Text from the public-domain hadith-api dataset. Numbering follows that dataset and can differ by a few from some printed editions — check the wording, not only the number.