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.
tirmidhi:2741bMuḥammad b. al-Muthanná > Muḥammad b. Jaʿfar > Shuʿbah > Ibn Abū Laylá Bihadhā al-Isnād > Hakadhā Rawá Shuʿbah Hadhā al-Ḥadīth > Ibn Abū Laylá > Abū Ayyūb

This is how Shu'bah reported this Hadith from IbnAbi Laila, and he said: "From Abu Ayyub from the Prophet ﷺ." Ibn Abi Laila was confused in this narration, sometimes he would say: "From Abu Ayyub from the Prophet ﷺ" and sometimes he would say: "From 'Ali from the Prophet ﷺ" similarly in meaning.  

الترمذي:٢٧٤١bحَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ حَدَّثَنَا شُعْبَةُ عَنِ ابْنِ أَبِي لَيْلَى بِهَذَا الإِسْنَادِ نَحْوَهُ قَالَ هَكَذَا رَوَى شُعْبَةُ هَذَا الْحَدِيثَ عَنِ ابْنِ أَبِي لَيْلَى عَنْ أَبِي أَيُّوبَ

عَنِ النَّبِيِّ ﷺ وَكَانَ ابْنُ أَبِي لَيْلَى يَضْطَرِبُ فِي هَذَا الْحَدِيثِ يَقُولُ أَحْيَانًا عَنْ أَبِي أَيُّوبَ عَنِ النَّبِيِّ ﷺ وَيَقُولُ أَحْيَانًا عَنْ عَلِيٍّ عَنِ النَّبِيِّ ﷺ