What is Narrated From Al-Askari عليه السلام Regarding the Designation of Al-qa'im

Kamāl al-Dīn wa Tamām al-Niʿma|Volume 1|Book 2|Chapter 36
Kamāl al-Dīn wa Tamām al-Niʿma

Book 2, Chapter 36

What is Narrated From Al-Askari عليه السلام Regarding the Designation of Al-qa'im

حَدَّثَنَا عَلِيُّ بْنُ أَحْمَدَ بْنِ عَبْدِ اللَّهِ بْنِ أَبِي عَبْدِ اللَّهِ الْبَرْقِيُّ قَالَ حَدَّثَنَا أَبِي عَنْ جَدِّهِ أَحْمَدَ بْنِ أَبِي عَبْدِ اللَّهِ عَنْ أَبِيهِ عَنْ مُحَمَّدِ بْنِ أَبِي عُمَيْرٍ عَنْ حَمْزَةَ بْنِ حُمْرَانَ وَ غَيْرِهِ عَنِ الصَّادِقِ جَعْفَرِ بْنِ مُحَمَّدٍ ع قَالَ: خَرَجَ أَبُو جَعْفَرٍ مُحَمَّدُ بْنُ عَلِيٍّ الْبَاقِرُ ع‌ بِالْمَدِينَةِ فَتَضَجَّرَ وَ اتَّكَأَ عَلَى جِدَارٍ مِنْ جُدْرَانِهَا مُتَفَكِّراً إِذْ أَقْبَلَ إِلَيْهِ رَجُلٌ فَقَالَ لَهُ يَا أَبَا جَعْفَرٍ عَلَامَ حُزْنُكَ عَلَى الدُّنْيَا فَرِزْقُ اللَّهِ عَزَّ وَ جَلَّ حَاضِرٌ يَشْتَرِكُ فِيهِ الْبَرُّ وَ الْفَاجِرُ أَمْ عَلَى الْآخِرَةِ فَوَعْدٌ صَادِقٌ يَحْكُمُ فِيهِ مَلِكٌ قَادِرٌ قَالَ أَبُو جَعْفَرٍ ع مَا عَلَى هَذَا حُزْنِي إِنَّمَا حُزْنِي عَلَى فِتْنَةِ ابْنِ الزُّبَيْرِ فَقَالَ لَهُ الرَّجُلُ فَهَلْ رَأَيْتَ أَحَداً خَافَ اللَّهَ فَلَمْ يُنْجِهِ أَمْ هَلْ رَأَيْتَ أَحَداً تَوَكَّلَ عَلَى اللَّهِ فَلَمْ يَكْفِهِ وَ هَلْ رَأَيْتَ أَحَداً اسْتَجَارَ اللَّهَ فَلَمْ يُجِرْهُ‌ فَقَالَ أَبُو جَعْفَرٍ ع لَا فَوَلَّى الرَّجُلُ فَقِيلَ مَنْ هُوَ ذَاكَ فَقَالَ أَبُو جَعْفَرٍ هَذَا هُوَ الْخَضِرُ ع. قال مصنف هذا الكتاب رضي الله عنه جاء هذا الحديث هكذا و قد روي في خبر آخر أن ذلك كان مع علي بن الحسين ع.
Narrated to us Ali bin Ahmad bin Abdullah bin Abi Abdullah Ali bin Ahmad bin Abdullah bin Ahmad bin Abi Abdullah Barqi: Narrated to us my father from his grandfather Ahmad bin Abi Abdullah from his father from Muhammad bin Abi Umair from Hamza bin Humran and others from As-Sadiq Ja’far bin Muhammad عليه السلام that he said:
“Abu Ja’far Muhammad bin Ali al-Baqir عليه السلام stood in an extremely worried condition leaning on a wall in Medina. A man approached him and said: O Abu Ja’far, what has aggrieved you? If you are worried about the world, you should know that the sustenance of Allah is there and both the good as well as the bad have a share in it. If you are worried about the hereafter, the promise of the powerful Lord is true. Abu Ja’far عليه السلام said: It is not sorrow, I am worried about the mischief of Ibne Zubair. 
That person said: Have you seen anyone fearing Allah but not getting deliverance? Anyone relying on Allah for whom Allah did not suffice? One who took refuge with Allah but whom Allah did not give refuge? Abu Ja’far said: No. That person went away. The Imam was asked: Who was that man? He replied: It was Khizr عليه السلام.”
The author says: The above report is such but in another report it is mentioned that this incident occurred with Ali bin al-Husain عليه السلام.