Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) narrates that the Prophet (peace and blessings be upon him) said: "Whoever works for Allah Almighty while remaining within the community (jama'ah) and does what is right, Allah Almighty will accept his deed; and if he errs, He will forgive him. Whoever does something to create division (among the Muslims), even if the deed is right, Allah Almighty will still not accept it; and if he errs, let him prepare to take his seat in Hell."
Al-Tabarani recorded it. Its chain contains Muhammad bin Khulayd al-Hanafi, who is da'if (weak).
Al-Bazzar recorded it with a da'if (weak) chain.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الخلافة / 9092
Hadith Gradingمحدثین:إسنادہ ضعیف
Hadith Takhrij«اخرجه الطبراني فى المعجم الكبير (12471) ، أخرجه المعجم الكبير للطبراني برقم: 12473، وأخرجه المعجم الأوسط للطبراني برقم: 5166»