Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
malik:2-33Mālik > Nuʿaym b. ʿAbdullāh al-Madanī al-Mujmir > Abū Hurayrah

Yahya related to me from Malik from Nuaym ibn Abdullah al-Madani al-Mujmir that he heard Abu Hurayra say, "If someone does wudu and does it correctly and then goes off intending to do the prayer, then he is in prayer as long as he intends to do the prayer. A good action is written for every alternate step he makes and a wrong action is erased for the second. When you hear the iqama do not lengthen your stride, and the one who has the greatest reward is the one whose house is farthest away." They said, "Why, Abu Hurayra?" He replied, "Because of the greater number of steps."  

مالك:٢-٣٣وَحَدَّثَنِي عَنْ مَالِكٍ عَنْ نُعَيْمِ بْنِ عَبْدِ اللَّهِ الْمَدَنِيِّ الْمُجْمِرِ أَنَّهُ سَمِعَ أَبَا هُرَيْرَةَ

يَقُولُ مَنْ تَوَضَّأَ فَأَحْسَنَ وُضُوءَهُ ثُمَّ خَرَجَ عَامِدًا إِلَى الصَّلاَةِ فَإِنَّهُ فِي صَلاَةٍ مَادَامَ يَعْمِدُ إِلَى الصَّلاَةِ وَإِنَّهُ يُكْتَبُ لَهُ بِإِحْدَى خُطْوَتَيْهِ حَسَنَةٌ وَيُمْحَى عَنْهُ بِالأُخْرَى سَيِّئَةٌ فَإِذَا سَمِعَ أَحَدُكُمُ الإِقَامَةَ فَلاَ يَسْعَ فَإِنَّ أَعْظَمَكُمْ أَجْرًا أَبْعَدُكُمْ دَارًا قَالُوا لِمَ يَا أَبَا هُرَيْرَةَ قَالَ مِنْ أَجْلِ كَثْرَةِ الْخُطَا