ʿUyūn akhbār al-Riḍā

Hadith 299
imam-aliahl-al-baytprophet-muhammad
299 - وَبِإِسْنادِهِ عَنْ عَلِيِ‏ عَلَيْهِ السَّلامُ قالَ: قالَرَسُولَ اللَّهِ‏ صَلَّى اللهُ عَلَيْهِ وَآلِهِ: أَنَا مَدِينَةُ العِلْمِ وَعَلِيٌّ بابُها [فَمَن اَرادَ العِلْمَ فَليَاتِ البابَ‏] .
31-299 According to the same documentation on the authority of Ali (a.s.), God’s Prophet (S) said, “I am the city of knowledge and Ali is its portal. (Whoever wishes to gain knowledge should go through that portal.)
Source: Shaykh Muḥammad b. ʿAlī al-Ṣaduq