حَدَّثَنَا مُحَمَّدُ بْنُ الْفَضْلِ السَّقَطِيُّ قَالَ : نَا لَيْثُ بْنُ حَمَّادٍ قَالَ : نَا حَمَّادُ بْنُ زَيْدٍ ، عَنْ لَيْثٍ ، عَنْ مُجَاهِدٍ ، عَنِ ابْنِ عُمَرَ قَالَ : قَالَ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ : خِيَارُكُمْ أَلْيَنُكُمْ مَنَاكِبَ فِي الصَّلَاةِ ، وَمَا تَخَطَّى عَبْدٌ خُطْوَةً أَعْظَمَ أَجْرًا مِنْ خُطْوَةٍ مَشَاهَا رَجُلٌ إِلَى فُرْجَةٍ فِي الصَّفِّ فَسَدَّهَا .
It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "The best of you are those who keep their shoulders most gentle in prayer (to join the row). And no step a servant takes carries a greater reward than the step a person walks towards a gap in the row and fills it."
Related hadith on this topic