Hadithcore
Sunan Abi Dawud, 861
sahih· Al-Albani

Rifa’ah b. Rafi has also narrated this tradition through a different chain from the Messenger of Allah(ﷺ). This version goes:

Then perform ablution in a way Allah, the exalted, has command you, then say the shahadah and get up and say the takbir. Then if you know any of the Qur’an, recite it; otherwise say: “Praise be to Allah”; “Allah is most great”; “ There is no god but Allah” He ( the narrator) also said in this version: If some defect remains in this, that detect will remain in your prayer.

حَدَّثَنَا عَبَّادُ بْنُ مُوسَى الْخُتَّلِيُّ، حَدَّثَنَا إِسْمَاعِيلُ، - يَعْنِي ابْنَ جَعْفَرٍ - أَخْبَرَنِي يَحْيَى بْنُ عَلِيِّ بْنِ يَحْيَى بْنِ خَلاَّدِ بْنِ رَافِعٍ الزُّرَقِيُّ، عَنْ أَبِيهِ، عَنْ جَدِّهِ، عَنْ رِفَاعَةَ بْنِ رَافِعٍ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم فَقَصَّ هَذَا الْحَدِيثَ قَالَ فِيهِ ‏"‏ فَتَوَضَّأْ كَمَا أَمَرَكَ اللَّهُ جَلَّ وَعَزَّ ثُمَّ تَشَهَّدْ فَأَقِمْ ثُمَّ كَبِّرْ فَإِنْ كَانَ مَعَكَ قُرْآنٌ فَاقْرَأْ بِهِ وَإِلاَّ فَاحْمَدِ اللَّهَ وَكَبِّرْهُ وَهَلِّلْهُ ‏"‏ ‏.‏ وَقَالَ فِيهِ ‏"‏ وَإِنِ انْتَقَصْتَ مِنْهُ شَيْئًا انْتَقَصْتَ مِنْ صَلاَتِكَ ‏"‏ ‏.‏

References2 variants
In-Book Reference
Book 2, Hadith 471
English Reference
Book 2, Hadith 860