It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) used to make several supplications: "O my Lord! Help me and do not help (anyone) against me; grant me victory and do not grant (anyone) victory over me; plan for me and do not plan against me; guide me and make Your guidance easy for me; and help me against whoever transgresses against me. And make me grateful to You, remembering (You), fearing You, obedient, humble before You, one who entreats humbly and turns back (to You). O my Lord! Accept my repentance, wash away my sins, answer my supplication, keep my proof firm, guide my heart, keep my tongue upright, and remove the rancour from my heart."
These are the words of al-Tammar.
In the narration of Isma'il bin Abdullah (may Allah have mercy on him), the Prophet (peace and blessings be upon him) used to supplicate: "O my Lord" (and then the supplication); and in his version it is: "and make guidance easy for me"; and also in his version it is: "O my Lord, make me grateful to You, much remembering You, much fearing You, obedient to You, humble before You, one who entreats humbly and turns back (to You); accept my repentance and wash away my sin"; and the rest of the narration is like it.
Imam Abu Dawud (may Allah have mercy on him) narrated it from Muhammad bin Kathir (may Allah have mercy on him), and also through Musaddad (may Allah have mercy on him) from Yahya bin Sa'id (may Allah have mercy on him) with a similar meaning.
And Imam al-Tirmidhi (may Allah have mercy on him) narrated it through Mahmud bin Ghaylan (may Allah have mercy on him) from Abu Dawud al-Hafari (may Allah have mercy on him) and Muhammad bin Kathir al-Abdi (may Allah have mercy on him), who narrated it separately from Sufyan al-Thawri (may Allah have mercy on him), similarly, and he said: "This hadith is hasan sahih."
And Imam al-Nasa'i (may Allah have mercy on him) narrated it in "Amal al-Yawm wa al-Laylah" through Amr bin Ali (may Allah have mercy on him) from Yahya (may Allah have mercy on him), and also through Imran bin Musa (may Allah have mercy on him) from Abd al-Warith (may Allah have mercy on him), from Muhammad bin Juhadah (may Allah have mercy on him), from Amr bin Murrah (may Allah have mercy on him), similarly, and he did not mention anyone between the two of them.
And Imam Ibn Majah (may Allah have mercy on him) narrated it through Ali bin Muhammad (may Allah have mercy on him) from Waki' (may Allah have mercy on him), from Sufyan (may Allah have mercy on him).
And Abu Hatim al-Busti (may Allah have mercy on him) narrated it through Abu Ya'la al-Mawsili (may Allah have mercy on him) from Muhammad bin Yahya (may Allah have mercy on him), and also through al-Fadl bin al-Hubab (may Allah have mercy on him) from Muhammad bin Kathir al-Abdi (may Allah have mercy on him) with a similar meaning.