Abud Darda’ reported God’s Messenger as saying, “If there are three men in a village or in the desert among whom prayer is not arranged, the devil has got the mastery over them. So observe prayer in company, for the wolf eats only the straggling animal.”
God’s Messenger led us in the dawn prayer one day, and when he gave the salutation he asked, “Is so and so present?” and was told that he was not. He asked, “Is so and so present?” and was told that he was not. He then said, “These two prayers* are the ones which are most burdensome to hypocrites. If you knew the blessings they contain you would come to them, even though you had to crawl on your knees. The first row is like that of the angels, and if you knew the nature of its excellence you would race to join it. A man’s prayer said along with another is purer than his prayer said alone, and his prayer with two men is purer than his prayer with one, but if there are more it is more pleasing to God.”
Ibn ‘Abbas reported God’s Messenger as saying, “If any one hears him who makes the call to prayer and is not prevented from joining the congregation by any excuse,” (he was asked what an excuse consisted of and replied that it was fear or illness), “the prayer he says will not be accepted from him.”
Abu' Musa reported God’s Messenger as saying, “Every eye is adulterous, and when a woman perfumes herself and passes a company, she is such and such meaning adulterous.
Tirmidhi transmitted it, and Abu Dawud and Nasa’i have something similar.