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.
Jami` at-Tirmidhi Book 43, Hadith 7