Language:
كتاب الحدود
86  
Limits and Punishments set by Allah (Hudood)
(11)
Chapter: To inflict the legal punishment on the noble and the weak people
(11)
باب إِقَامَةِ الْحُدُودِ عَلَى الشَّرِيفِ وَالْوَضِيعِ
Sahih al-Bukhari 6787

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 : Vol. 8, Book 81, Hadith 778
  (deprecated numbering scheme)