Ayesha reported,

The Quraysh were greatly troubled by the case of the Makhzumi woman who had stolen something. They said, "Who will speak to the Messenger of Allah ﷺ about her? Who would dare approach him except Usama, the beloved of the Messenger of Allah ﷺ?"So Usama spoke to the Messenger of Allah ﷺ on her behalf.The Messenger of Allah ﷺ said, "Are you interceding concerning one of the prescribed punishments of Allah?"Then he stood and delivered a sermon, saying, "People, those before you were destroyed because when a noble person among them stole, they let him go, but when a weak person stole, they carried out the punishment on him. By Allah, if Fatimah, the daughter of Muhammad, were to steal, Muhammad would cut off her hand."

Azami 6976

Sahih

عن عائشة

أن قريشا أهمتهم المرأة المخزومية التي سرقت، فقالوا: من يكلم رسول الله ﷺ، ومن يجترئ عليه إلا أسامة حب رسول الله ﷺ، فكلم رسول الله ﷺ فقال: أتشفع في حد من حدود الله؟ ثم قال فخطب، قال: يا أيها الناس، إنما ضل من قبلكم، أنهم كانوا إذا سرق الشريف تركوه، وإذا سرق الضعيف فيهم أقاموا عليه الحد، وأيم الله، لو أن فاطمة بنت محمد سرقت لقطع محمد يدها.

الأعظمي 6976صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Legal punishments
Chapter
Hadd for theft
Section
Equality between the noble and the weak in carrying out legal punishments
Numbering
Jami al-Kamil 6976 (2nd edition)
Azami 6976