It is narrated from Hazrat Abu Dharr (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: Whoever walks even a handspan against the congregation removes the rope of Islam from his neck.
Hadith Referenceمسند احمد / مسند الأنصار رضي الله عنهم / 21561
Hadith Gradingحکم دارالسلام:صحيح لغيره، وهذا إسناد ضعيف لجهالة خالد بن وهبان