Abu Saeed Khudri reported,

The Messenger of Allah ﷺ said, "Whoever leaves his house heading to the prayer and says, 'O Allah, I ask You by the right of those who ask of You, and I ask You by the right of this walk of mine, for I have not gone out in arrogance, nor in pride, nor for show, nor to be heard. I have gone out to avoid Your anger and to seek Your pleasure. So I ask You to protect me from the Fire and to forgive me my sins, for none forgives sins but You,' Allah will turn His face toward him, and seventy thousand angels will seek forgiveness for him."

Ibn Majah 778

Daif

حدثنا محمد بن سعيد بن يزيد بن إبراهيم التستري حدثنا الفضل بن الموفق أبو الجهم حدثنا فضيل بن مرزوق عن عطية

عن أبي سعيد الخدري قال

قال رسول الله ﷺ من خرج من بيته إلى الصلاة فقال اللهم إني أسألك بحق السائلين عليك وأسألك بحق ممشاي هذا فإني لم أخرج أشرا ولا بطرا ولا رياء ولا سمعة وخرجت اتقاء سخطك وابتغاء مرضاتك فأسألك أن تعيذني من النار وأن تغفر لي ذنوبي إنه لا يغفر الذنوب إلا أنت أقبل الله عليه بوجهه واستغفر له سبعون ألف ملك

ابن ماجه 778ضعيف
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Mosques and congregations
Chapter
Walking to prayer
Numbering
Darussalam 778
Ibn Majah 778