It is narrated from Sayyiduna Abdullah bin Amr (may Allah be pleased with them both) that he passed by Sayyiduna Mu'adh bin Jabal (may Allah be pleased with him), who was standing at his door making gestures with his hand as if he were talking to himself. Sayyiduna Abdullah bin Amr (may Allah be pleased with them both) asked him: "O Abu Abd al-Rahman, what is the matter with you? Are you talking to yourself?" He said: "What is wrong with me? The enemy of Allah (Satan) wants to turn me away from what I heard from the Messenger of Allah (peace and blessings be upon him). He says to me: 'Will you spend your whole life toiling in your house? Why do you not go out to the gathering?' Yet I heard the Messenger of Allah (peace and blessings be upon him) say: 'Whoever strives in the path of Allah is under the guarantee of Allah; whoever visits a sick person is under the guarantee of Allah, the Mighty and Majestic; whoever goes to the mosque in the morning or the evening is under the guarantee of Allah, the Mighty and Majestic; whoever goes to a ruler to honour and support him is under the guarantee of Allah; and whoever sits in his house and does not backbite anyone with evil is under the guarantee of Allah.' So does the enemy of Allah want to take me out of my house to the gathering?"
Imam al-Tabarani (may Allah have mercy on him) said: "This hadith is narrated from Sayyiduna Abdullah bin Amr (may Allah be pleased with them both), through Sayyiduna Mu'adh (may Allah be pleased with him), only with this chain; Layth (may Allah have mercy on him) is alone in narrating it."
It is like this (Qays bin Nafi') in the Dar al-Haramayn edition, and the correct name is probably (Qays bin Rafi').
Hadith Referenceالمعجم الأوسط / باب الميم / 8659
Hadith Takhrij«أخرجه ابن خزيمة فى «صحيحه» برقم: 1495، وابن حبان فى «صحيحه» برقم: 372، والحاكم فى «المستدرك» برقم: 772، 2464، 5216، والبيهقي فى «السنن الكبرى» برقم: 18610، وأحمد فى «مسنده» برقم: 22520، والطبراني فى «الكبير» برقم: 55، 54»