Abu Musa (may Allah be pleased with him) reports that the Prophet Muhammad (peace and blessings be upon him) said: "Among all people, those who will have the greatest reward for prayer are those whose distance (from the mosque) is the farthest, then those who are farther than them. And the person who waits for the prayer until he prays it with the Imam, in terms of reward, is greater than the one who prays quickly and goes to sleep."