It is narrated from Sayyiduna Mu'adh bin Jabal (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "There are five deeds; whoever does any one of them comes under the protection and guarantee of Allah, the Mighty and Majestic: one who visits a sick person, or goes out with a funeral, or goes out to fight in the way of Allah, or goes to an Imam (ruler) intending to honour and respect him, or stays sitting in his house so that people are safe from him and he is safe from people."
Imam Abu Ya'la, Ahmad bin Hanbal, Ibn Khuzaymah and Ibn Hibban in their respective Sahihs recorded this hadith, while the wording is that of Imam al-Tabarani; Imam Abu Dawud also recorded it in his Sunan from the narration of Sayyiduna Abu Umamah (may Allah be pleased with him).
Hadith Gradingمحدثین:سكت عنه البوصيري، إسناده ضعيف؛ لضعف ابن لهيعة
Hadith Takhrij«لم أقف على إسناد أبي يعلى بعينه؛ وطريق أحمد (22093): قتيبة عن ابن لهيعة عن الحارث بن يزيد عن علي بن رباح عن عبد الله بن عمرو عن معاذ. ابن لهيعة: صدوق خلط بعد احتراق كتبه (التقريب)؛ وله طرق يتقوى بها» «أخرجه مسند أحمد برقم: 21588، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 3172، 9426، 9427، وأخرجه الأموال لابن زنجويه برقم: 49»