Mishkat al-Masabih 955
وَعَن شَدَّادِ بْنِ أَوْسٍ قَالَ: كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ فِي صَلَاتِهِ: اللَّهُمَّ إِنِّي أَسأَلك الثَّبَات فِي الْأَمر والعزيمة عَلَى الرُّشْدِ وَأَسْأَلُكَ شُكْرَ نِعْمَتِكَ وَحُسْنَ عِبَادَتِكَ وَأَسْأَلُكَ قَلْبًا سَلِيمًا وَلِسَانًا صَادِقًا وَأَسْأَلُكَ مِنْ خَيْرِ مَا تَعْلَمُ وَأَعُوذُ بِكَ مِنْ شَرِّ مَا تَعْلَمُ وَأَسْتَغْفِرُكَ لِمَا تَعْلَمُ. رَوَاهُ النَّسَائِيُّ وروى أَحْمد نَحوه
From Shaddad ibn Aws, who said: The Messenger of Allah ﷺ used to say in his prayer: O Allah, I ask You for steadfastness in the matter and resolve upon right guidance; I ask You for gratitude for Your blessing and excellence in worshipping You; I ask You for a sound heart and a truthful tongue; I ask You for the good of what You know, I seek refuge in You from the evil of what You know, and I ask Your forgiveness for what You know. Reported by an-Nasaʾi, and Ahmad reported something similar.