It is narrated from Sayyiduna Ali (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whenever a servant puts on his sandals, puts on his leather socks and puts on a garment in order to set out early in the morning in search of knowledge, Allah forgives his sins at the very moment he crosses the threshold of his door."
Imam al-Tabarani (may Allah have mercy on him) said: "This hadith is narrated from Sayyiduna Ali (may Allah be pleased with him) only with this chain; Isma'il bin Yahya al-Taymi is alone in narrating it."
Hadith Referenceالمعجم الأوسط / باب الميم / 5722
Hadith Gradingمحدثین:باطل، فيه إسماعيل بن يحيى التيمي كذاب
Hadith Takhrij«قال الهيثمي: فيه إسماعيل بن يحيى التيمي وهو كذاب «مجمع الزوائد ومنبع الفوائد، ج 1، ص 133»» «قال ابن عدي: إسناده باطل ليس يرويه عن فطر غير إسماعيل «الكامل في الضعفاء، ج 1، ص 500»»