ʿUyūn akhbār al-Riḍā
Hadith 239239 - وَبِإِسْنادِهِ قالَ: قالَ النَّبِيّ صَلَّى اللهُ عَلَيْهِوَآلِهِ: بُغضُ عَلِيِّ كُفرٌ وَبُغضُ بَنِي هاشِمٍ نِفاقٌ.
31-239 According to the same documentation, the Prophet (S) said, “Animosity with Ali equals atheism and animosity with the Hashemites equals hypocrisy.”