The Messenger of Allah ﷺ said: If anyone goes out from his house after performing ablution for saying the prescribed prayer in congregation (in the mosque), his reward will be like that of one who goes for hajj pilgrimage after wearing ihram (robe worn by the hajj pilgrims). And he who goes out to say the mid-morning (duha) prayer, and takes the trouble for this purpose, will take the reward like that of a person who performs umrah. And a prayer followed by a prayer with no worldly talk during the gap between them will be recorded in Illiyyun. (Using translation from Abū Dāʾūd 558)
قَالَ رَسُولُ اللهِ ﷺ مَنْ مَشَى إِلَى صَلَاةٍ مَكْتُوبَةٍ وَهُوَ مُتَطَهِّرٌ فَأَجْرُهُ كَأَجْرِ الْحَاجِّ الْمُحْرِمِ وَمَنْ مَشَى إِلَى سُبْحَةِ الضُّحَى لَا يُنْهِضُهُ إِلَّا إِيَّاهُ فَأَجْرُهُ كَأَجْرِ الْمُعْتَمِرِ وَصَلَاةٌ عَلَى أَثَرِ صَلَاةٍ لَا لَغْوَ بَيْنَهُمَا كِتَابٌ فِي عِلِّيِّينَ