Hadithcore
Sahih al-Bukhari, 6787
sahih

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."

حَدَّثَنَا أَبُو الْوَلِيدِ، حَدَّثَنَا اللَّيْثُ، عَنِ ابْنِ شِهَابٍ، عَنْ عُرْوَةَ، عَنْ عَائِشَةَ، أَنَّ أُسَامَةَ، كَلَّمَ النَّبِيَّ صلى الله عليه وسلم فِي امْرَأَةٍ فَقَالَ ‏

‏ إِنَّمَا هَلَكَ مَنْ كَانَ قَبْلَكُمْ أَنَّهُمْ كَانُوا يُقِيمُونَ الْحَدَّ عَلَى الْوَضِيعِ، وَيَتْرُكُونَ الشَّرِيفَ، وَالَّذِي نَفْسِي بِيَدِهِ لَوْ فَاطِمَةُ فَعَلَتْ ذَلِكَ لَقَطَعْتُ يَدَهَا ‏

‏‏.‏

References2 variants
In-Book Reference
Book 86, Hadith 16
USC-MSA web (English) reference
Vol. 8, Book 81, Hadith 778 (deprecated numbering scheme)