قَالَ ابْنُ عَبَّاسٍ قُلْتُ يَا رَسُولَ اللهِ أَوْصِنِي فَقَالَ عَلَيْكَ بِمَوَدَّةِ عَلِيِّ بْنِ أَبِي طَالِبٍ وَ الَّذِي بَعَثَنِي بِالْحَقِّ نَبِيّاً لَا يَقْبَلُ اللهُ مِنْ عَبْدٍ حَسَنَةً حَتَّى يَسْأَلَهُ عَنْ حُبِّ عَلِيِّ بْنِ أَبِي طَالِبٍ وَ هُوَ تَعَالَى أَعْلَمُ فَإِنْ جَاءَهُ بِوَلَايَتِهِ قَبِلَ عَمَلَهُ عَلَى مَا كَانَ مِنْهُ وَ إِنْ لَمْ يَأْتِ بِوَلَايَتِهِ لَمْ يَسْأَلْهُ عَنْ شَيْءٍ ثُمَّ أَمَرَ بِهِ إِلَى النَّارِ
Ibn Abbas reports that I said, “O Messenger of Allah! Advise me.” He (peace be on him and his progeny) replied,
“The love of Ali Ibn Abi Talib (peace be on them both) is obligatory upon you. I swear by the One Who sent me with truth as a Prophet, Allah will not accept any good deed from a servant till He questions him about the love of Ali Ibn Abi Talib (peace be on them both) while He – the Highest – knows the best. If he brings his mastership, his actions will be accepted per se but if he does not bring his mastership, he will not be asked anything, thereafter he will be ordered towards the Hell-fire.”
References:
1. Al-Amaali of al-Shaikh al-Toosi (r.a.), p. 104, H. 161, 4th Majlis
2. Bashaarah al-Mustafa (peace be on him and his progeny) Le Shiah al-Murtaza (peace be on him), p. 41
3. Behaar al-Anwaar, vol. 16, p. 317, H. 7 and vol. 27, p. 219, H. 4