Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
suyuti:496-1b
Request/Fix translation

  

السيوطي:٤٩٦-١b

" قَالَ لِىَ رسُولُ الله ﷺ قَدْ آذَيْتَنِى، قُلْتُ: يَا رَسُولَ الله: مَا أُحِبُّ أَنْ أُؤذِيَكَ فَقَالَ: مَنْ آذَى عَلِيًا فَقَدْ آذَانِى".  

[ش] ابن أبى شيبة وابن سعد، [حم] أحمد [خ] البخاري في تاريخه، [طب] الطبرانى في الكبير [ك] الحاكم في المستدرك

See similar narrations below:

Collected by Ibn Ḥibbān

ذِكْرُ الْبَيَانِ بِأَنَّ أَذَى عَلِيِّ بْنِ أَبِي طَالِبٍ ؓ مَقْرُونٌ بِأَذَى النَّبِيِّ ﷺ

ibnhibban:6923al-Ḥasan b. Sufyān > Abū Bakr > Mālik b. Ismāʿīl > Masʿūd b. Saʿd > Muḥammad b. Isḥāq > al-Faḍl b. Maʿqil > ʿAbdullāh b. Niyār al-Aslamī > ʿAmr b. Shās

[Machine] To the Messenger of Allah ﷺ , I said, "O Messenger of Allah, you have hurt me." He said, "Whoever hurts Ali has also hurt me."  

ابن حبّان:٦٩٢٣أَخْبَرَنَا الْحَسَنُ بْنُ سُفْيَانَ حَدَّثَنَا أَبُو بَكْرٍ حَدَّثَنَا مَالِكُ بْنُ إِسْمَاعِيلَ حَدَّثَنَا مَسْعُودُ بْنُ سَعْدٍ حَدَّثَنَا مُحَمَّدُ بْنُ إِسْحَاقَ عَنِ الْفَضْلِ بْنِ مَعْقِلٍ عَنْ عَبْدِ اللَّهِ بْنِ نِيَارٍ الْأَسْلَمِيِّ عَنْ عَمْرِو بْنِ شَاسٍ قَالَ قَالَ

لِي رَسُولُ اللَّهِ ﷺ «قَدْ آذَيْتَنِي» قُلْتُ يَا رَسُولَ اللَّهِ مَا أُحِبُّ أَنْ أُوذِيَكَ قَالَ «مَنْ آذَى عَلِيًّا فَقَدْ آذَانِي»