Uqba bin Amir reported that he set out with the Messenger of Allah ﷺ on the expedition of Tabuk. One day the Messenger of Allah ﷺ sat speaking with his companions and said, "Whoever rises when the sun has climbed in the sky, performs ablution well, then stands and prays two units of prayer, his sins will be forgiven, and he will be as pure as the day his mother bore him."Uqba bin Amir said, "I exclaimed, 'Praise be to Allah, who has granted me to hear this from the Messenger of Allah ﷺ.'"Then Umar bin Khattab , who was sitting opposite me, said to me, "Are you amazed at this? The Messenger of Allah ﷺ said something even more amazing before you came."I asked, "What was that, may my father and mother be ransom for you?"Umar said, "The Messenger of Allah ﷺ said, 'Whoever performs ablution well, then raises his gaze to the heavens and says, "I bear witness that there is no god but Allah alone, with no partner, and I bear witness that Muhammad is His servant and His Messenger," the eight gates of Paradise are opened for him, and he may enter through whichever of them he wishes.'"
حدثنا عبد الله بن يزيد أخبرنا حيوة أخبرنا أبو عقيل عن ابن عمه
أنه خرج مع رسول الله ﷺ في غزوة تبوك فجلس رسول الله ﷺ يوما يحدث أصحابه فقال من قام إذا استقلت الشمس فتوضأ فأحسن الوضوء ثم قام فصلى ركعتين غفر له خطاياه فكان كما ولدته أمه قال عقبة بن عامر فقلت الحمد لله الذي رزقني أن أسمع هذا من رسول الله ﷺ فقال لي عمر بن الخطاب رضي الله عنه وكان تجاهي جالسا أتعجب من هذا فقد قال رسول الله ﷺ أعجب من هذا قبل أن تأتي فقلت وما ذاك بأبي أنت وأمي فقال عمر قال رسول الله ﷺ من توضأ فأحسن الوضوء ثم رفع نظره إلى السماء فقال أشهد أن لا إله إلا الله وحده لا شريك له وأشهد أن محمدا عبده ورسوله فتحت له ثمانية أبواب الجنة يدخل من أيها شاء
Its isnad is daif, due to the unidentified status of Abu Aqeel's cousin.Haywa is Ibn Shurayh. Abu Aqeel is Zahra bin Mabad bin Abdullah bin Hisham Taymi, and he is trustworthy. The hadith, in its essence, is sahih. Muslim narrated it 1:82-83, and Abu Dawud 1:65-66, through the route of Muawiya bin Salih from Rabia bin Yazid from Abu Idris Khawlani, and also through the route of Muawiya from Abu Uthman from Jubayr bin Nufayr from Uqba bin Amir, both of them from Uqba bin Amir. Then Abu Dawud narrated it from Husayn bin Isa from Abdullah bin Yazid Muqri with the isnad here, similar to it.In Majma al-Zawaid 2:250-251 there is a hadith similar to this, from Malik bin Qays from Uqba, where it says, Abu Yaala narrated it, and as for Malik bin Qays, I did not find anyone who mentioned him. See what has already passed at 97. It will also come again in summarized form in the Musnad of Uqba bin Amir, 4:150-151.