Sahih Muslim, Book 50, Hadith 41 (Muslim 6913)

Abu Huraira reported Allah's Messenger (ﷺ) as saying:

Allah is self-respecting and a believer is also self-respecting and the respect of Allah is injured if a believer does what He has forbidden him to do.