Acceptance of deeds

Hadith 1:

عَنْهُ عَنْ مُعَلَّى بْنِ مُحَمَّدٍ عَنِ الْوَشَّاءِ عَنْ أَبَانٍ عَنْ إِسْمَاعِيلَ الْجُعْفِيِّ قَالَ دَخَلَ رَجُلٌ عَلَى أَبِي جَعْفَرٍ ( عليه السلام ) وَ مَعَهُ صَحِيفَةٌ فَقَالَ لَهُ أَبُو جَعْفَرٍ ( عليه السلام ) هَذِهِ صَحِيفَةُ مُخَاصِمٍ يَسْأَلُ عَنِ الدِّينِ الَّذِي يُقْبَلُ فِيهِ الْعَمَلُ فَقَالَ رَحِمَكَ اللَّهُ هَذَا الَّذِي أُرِيدُ. فَقَالَ أَبُو جَعْفَرٍ ( عليه السلام ) شَهَادَةُ أَنْ لَا إِلَهَ إِلَّا اللَّهُ وَحْدَهُ لَا شَرِيكَ لَهُ وَ أَنَّ مُحَمَّداً ( صلى الله عليه وآله ) عَبْدُهُ وَ رَسُولُهُ وَ تُقِرَّ بِمَا جَاءَ مِنْ عِنْدِ اللَّهِ وَ الْوَلَايَةُ لَنَا أَهْلَ الْبَيْتِ وَ الْبَرَاءَةُ مِنْ عَدُوِّنَا وَ التَّسْلِيمُ لِأَمْرِنَا وَ الْوَرَعُ وَ التَّوَاضُعُ وَ انْتِظَارُ قَائِمِنَا فَإِنَّ لَنَا دَوْلَةً إِذَا شَاءَ اللَّهُ جَاءَ بِهَا

A man came over to Abu Jafar Imam Baqir (عليه السلام) and with him was a sheet of paper. So Imam (عليه السلام) said to him, "This here is a paper of an opponent asking about the Religion upon which the deeds are accepted."

So the man said, "May Allah have Mercy on You, this is what I intended."

So Imam Baqir (عليه السلام) said, "The testimony that there is no god except for Allah Alone, there being no partners for Him, and that Mohammad (صلى الله عليه وآله) is His servant and His Prophet, and you acknowledge with whatever He came with from Allah, and Wilayah of the AhlulBayt (عليهم السلام), and the staying away (Bara'at) from Our enemies, and submission to Our command, and piety, and Humility, and awaiting Our Qaim (عج), So indeed there is a government for Us when Allah Desires He will bring it forth."

[Source: al-Kafi, Vol. 2, Pg. 23]