Ayesha reported,

The Quraysh were greatly concerned about the case of the Makhzumi woman who had committed theft. They said, "Who will speak to the Messenger of Allah ﷺ about her?"Others replied, "Who would dare to do so except Usama bin Zayd, the beloved of the Messenger of Allah ﷺ?"So Usama spoke to him about the matter.The Messenger of Allah ﷺ said, "Are you interceding regarding one of the prescribed punishments of Allah?"Then he stood up and delivered a sermon, saying, "What destroyed those before you was that whenever a noble person among them stole, they let him go, but whenever a weak person among them stole, they carried out the punishment on him. By Allah, if Fatimah, daughter of Muhammad, were to steal, I would cut off her hand."

Tirmidhi 1430

Sahih

حدثنا قتيبة حدثنا الليث عن ابن شهاب عن عروة

عن عائشة

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

الترمذي 1430صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Legal punishments
Chapter
Disapproval of interceding in legal punishments
Numbering
Darussalam 1430
Tirmidhi 1430