Al-Kāfi

Hadith 663
twelve-imamsunseen
4ـ أَحْمَدُ بْنُ مُحَمَّدٍ عَنْ مُحَمَّدِ بْنِ الْحَسَنِ عَنْ أَحْمَدَ بْنِ الْحَسَنِ بْنِ عَلِيٍّ عَنْ عَمْرِو بْنِ سَعِيدٍ عَنْ مُصَدِّقِ بْنِ صَدَقَةَ عَنْ عَمَّارٍ السَّابَاطِيِّ قَالَ سَأَلْتُ أَبَا عَبْدِ الله (عَلَيْهِ السَّلام) عَنِ الامَامِ يَعْلَمُ الْغَيْبَ فَقَالَ لا وَلَكِنْ إِذَا أَرَادَ أَنْ يَعْلَمَ الشَّيْ‏ءَ أَعْلَمَهُ الله ذَلِكَ.
4. Ahmad ibn Muhammad has narrated from Muhammad ibn al-Hassan from Ahmad ibn a1-Hassan ibn Ali from ‘Amr ibn Sa‘id from Musaddiq ibn Sadaqa from ‘Ammar al-Sabati who has said that he asked abu ‘Abdallah (a.s.) the following: “Does the Imam have the knowledge of the hidden facts?” The Imam (a.s.) said, “No, but if he would like to know about a thing Allah grants him that.”
Source: Shaykh Muḥammad b. Yaʿqūb al-Kulaynī