(11) باب إِقَامَةِ الْحُدُودِ عَلَى الشَّرِيفِ وَالْوَضِيعِ
Narrated `Aisha:
Usama approached the Prophet (ﷺ) on behalf of a woman (who had committed theft). The Prophet (ﷺ) said, "The people before you were destroyed because they used to inflict the legal punishments on the poor and forgive the rich. By Him in Whose Hand my soul is! If Fatima (the daughter of the Prophet (ﷺ) ) did that (i.e. stole), I would cut off her hand."
Reference: Sahih al-Bukhari 6787
In-book reference: Book 86, Hadith 16
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 8, Book 81, Hadith 778