Ka'b said: When the prayer is offered in congregation, the reward is according to the number of people present in the mosque.