The Messenger of Allah ﷺ said, "The hand of Allah is with the community."This is a strange hadith. We do not know it from the narration of Ibn Abbas except through this chain.
حدثنا يحيى بن موسى حدثنا عبد الرزاق أخبرنا إبراهيم بن ميمون عن ابن طاوس عن أبيه
قال رسول الله ﷺ يد الله مع الجماعة وهذا حديث غريب لا نعرفه من حديث ابن عباس إلا من هذا الوجه
No references are available.
[Its isnad is sahih] Hakim narrated it: 1/116, from the hadith of Abdul-Razzaq with the same chain, with the wording, "Allah will never let my nation" or he said, "this nation" gather upon misguidance, and the hand of Allah is over the group.