On the Excellence of Waiting for Prayer
Riyad as-Salihin (Gardens of the Righteous)
Riyad as-Salihin 1065
Abu Hurairah relates that the Holy Prophet said: So long as you continue in the mosque for the purpose of Prayer and are not able to return home solely because of Prayer you will be deemed to be occupied in Prayer (Bokhari and Muslim).
Riyad as-Salihin 1066
Abu Hurairah relates that the Holy Prophet said: The angels call down blessings on everyone of you who continues in his place of Prayer in a state of purity after the Prayer is finished, saying: Allah, forgive him; Allah have mercy on him (Bokhari).
Riyad as-Salihin 1067
Anas relates that on one occasion the Holy Prophet was delayed coming to the mosque for the evening Prayer till midnight. After the Prayer finished he turned to us and said: Some people said their Prayer and went and slept, but you who waited were accounted as if you were occupied with Prayer throughout (Bokhari).