The Issue that even if only two people would remain on earth one of them would certainly be the Imam, the person with divine authority

Al-Kāfi|Volume 1|Book 4|Chapter 6
Al-Kāfi

Book 4, Chapter 6

The Issue that even if only two people would remain on earth one of them would certainly be the Imam, the person with divine authority

3ـ مُحَمَّدُ بْنُ يَحْيَى عَمَّنْ ذَكَرَهُ عَنِ الْحَسَنِ بْنِ مُوسَى الْخَشَّابِ عَنْ جَعْفَرِ بْنِ مُحَمَّدٍ عَنْ كَرَّامٍ قَالَ قَالَ أَبُو عَبْدِ الله (عَلَيْهِ السَّلام) لَوْ كَانَ النَّاسُ رَجُلَيْنِ لَكَانَ أَحَدُهُمَا الامَامَ وَقَالَ إِنَّ آخِرَ مَنْ يَمُوتُ الامَامُ لِئَلا يَحْتَجَّ أَحَدٌ عَلَى الله عَزَّ وَجَلَّ أَنَّهُ تَرَكَهُ بِغَيْرِ حُجَّةٍ لله عَلَيْهِ.
3. Muhammad ibn Yahya has narrated from those who he has mentioned from al-Hassan ibn Musa al-Khashshab from Ja’far ibn Muhammad from Kiram from abu ‘Abdallah عليه السلام who has said the following. “If of all the people there will remain only two man one of them will be the Imam. He also said, ‘The last person to die will be the Imam عليه السلام so that no one could complain against Allah leaving him without Imam, the person with Divine authority over him.’”
  • Allamah Baqir al-Majlisi
    Mirʾāt al-ʿUqūl fī Sharḥ Akhbār Āl al-Rasūl (2/299)
  • Shaykh Baqir al-Behbudi
    Ṣaḥīḥ al-Kāfī