Al-Ilmam bi-Ahadith al-Ahkam 108
وَعَن أبي سعيد الْخُدْرِيّ رَضِيَ اللَّهُ عَنْه، قَالَ: خرج رجلَانِ فِي سفر فَحَضَرت الصَّلَاة وَلَيْسَ مَعَهُمَا مَاء، فتيمَّما صَعِيدا طيبا، وصلّيا، ثمَّ وجدا المَاء فِي الْوَقْت؛ فَأَعَادَ أَحدهمَا الصَّلَاة وَالْوُضُوء، وَلم يعد الآخر. فَأتيَا رَسُول الله ﷺ فذكرا ذَلِك لَهُ فَقَالَ للَّذي لم يُعد: " أصبت السّنة، وأجزأتك صَلَاتك "، وَقَالَ للَّذي تَوَضَّأ وَأعَاد: " لَك الْأجر مرَّتَيْنِ ". أخرجه أَبُو دَاوُد، وَالْحَاكِم فِي " الْمُسْتَدْرك ". ولتصحيحه طَرِيق مَذْكُور فِي " الإِمَام ".
From Abu Saʿid al-Khudri, may Allah be pleased with him, who said: Two men set out on a journey and the time for prayer came while they had no water with them. So they performed tayammum with clean earth and prayed. Then they found water within the time; one of them repeated the prayer and the wudu, and the other did not repeat. They came to the Messenger of Allah ﷺ and mentioned that to him. He said to the one who did not repeat: "You followed the Sunnah, and your prayer sufficed you." And he said to the one who performed wudu and repeated: "You have the reward twice." Abu Dawud and al-Hakim in al-Mustadrak reported it. There is a route for grading it sahih mentioned in al-Imam.