Reported from the Prophet ﷺ with similar wording.
حدثنا أبو عمار الحسين بن حريث حدثنا سفيان بن عيينة عن داود عن الشعبي
عن النبي ﷺ بنحوه
No references are available.
Muslim also narrated it in the Zakat, chapter "Satisfying the collector as long as he does not ask for what is unlawful," hadith no. 1017, from Hind, with a similar wording.