«إذا صلى أحدكم في رحله ثم أدرك الإمام ولم يصل فليصل معه فإنها له نافلة»
The Prophet (peace and blessings be upon him) said:
"When one of you has prayed at his lodging and then finds the imam, while he (the imam) has not yet prayed, let him pray with him, for it will be a voluntary (nafl) prayer for him."