It is narrated from Sayyiduna Abu Hurairah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "By Him in Whose hand is my soul! I had firmly resolved to order that firewood be collected, then to order for the prayer to be established, then to appoint a man to lead the people in prayer, and then I would go to those men who stay away from the prayer and burn their houses down with them inside. By Him in Whose hand is my soul! If those who do not attend the congregation knew that they would find a bone with good meat or two fine shanks, they would surely come for the ‘Isha prayer."
Hadith Referenceالسنن المأثورة / باب من سمع النداء / 148
Hadith Takhrijصحیح بخاری، الاذان، باب وجوب صلاة الجماعة، رقم: 644؛ صحیح مسلم، المساجد ومواضع الصلاة، باب فضل صلاة الجماعة، رقم: 651