Sahih Muslim, Book 45, Hadith 73 (Muslim 6504)

Abu Dharr reported Allah's Messenger (ﷺ) as saying that he reported it from his Lord, the Exalted and Glorious:

Verily I have made oppression unlawful for Me and for My servants too, so do not commit oppression. The rest of the hadith is the same.