It is narrated from Sayyiduna Sa'd bin Malik (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) had all the people's doors opening onto the mosque closed and kept the door of Sayyiduna Ali (may Allah be pleased with him) open. The people talked about this, so he (peace and blessings be upon him) said: "It was not I who kept it open of my own accord; rather, Allah Almighty ordered it to be kept open." Imam Abu Ya'la recorded this hadith. In the narration of Imam Ahmad bin Hanbal the wording is: "The Messenger of Allah (peace and blessings be upon him) ordered that all the doors opening onto the mosque be closed and that the door of Sayyiduna Ali (may Allah be pleased with him) be left (as it was)." Imam Ahmad bin Hanbal also has a supporting narration (shahid) for this report from the hadith of Sayyiduna Zayd bin Arqam (may Allah be pleased with him).
Hadith Gradingمحدثین:سكت عنه البوصيري، إسناده ضعيف جدًا؛ فيه موسى بن محمد بن حيان ومحمد بن إسماعيل الطحان ومسلم الملائي
Hadith Takhrij«مسند أبي يعلى (703) عن موسى (بن محمد بن حيان) عن محمد بن إسماعيل بن جعفر الطحان عن غسان بن بشر الكاهلي عن مسلم عن خيثمة عن سعد؛ السناري: إسناد واه؛ موسى ترك أبو زرعة حديثه، والطحان منكر الحديث متروك، وغسان لم يوجد، ومسلم الملائي ضعيف واه، وسماع خيثمة من سعد غير محقق؛ وحكم عليه بالنكارة بهذا التمام» «أخرجه مسند أحمد برقم: 1514»