Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:3732Muḥammad b. Ḥumayd al-Rāzī > Ibrāhīm b. al-Mukhtār > Shuʿbah > Abū Balj > ʿAmr b. Maymūn > Ibn ʿAbbās

"The Prophet ﷺ ordered that the gates be closed, except the gate of 'Ali."  

الترمذي:٣٧٣٢حَدَّثَنَا مُحَمَّدُ بْنُ حُمَيْدٍ الرَّازِيُّ قَالَ حَدَّثَنَا إِبْرَاهِيمُ بْنُ الْمُخْتَارِ عَنْ شُعْبَةَ عَنْ أَبِي بَلْجٍ عَنْ عَمْرِو بْنِ مَيْمُونٍ عَنِ ابْنِ عَبَّاسٍ

أَنَّ رَسُولَ اللَّهِ ﷺ أَمَرَ بِسَدِّ الأَبْوَابِ إِلاَّ بَابَ عَلِيٍّ هَذَا حَدِيثٌ غَرِيبٌ لاَ نَعْرِفُهُ عَنْ شُعْبَةَ بِهَذَا الإِسْنَادِ إِلاَّ مِنْ هَذَا الْوَجْهِ