Abu Ali reported,

Safina reported that he set out on a voyage in which Uqba bin Amir al-Juhani was also a passenger. When the time for one of the prayers came, we asked him to lead us in prayer, saying to him, "You are the most deserving among us to do so, for you are a companion of the Messenger of Allah ﷺ."But he refused, saying, "I heard the Messenger of Allah ﷺ say, 'Whoever leads the people in prayer and performs it correctly, the reward of the prayer is for him and for them. But whoever falls short in any part of it, the burden is upon him and not upon them.'"

Ibn Majah 983

Sahih

حدثنا محرز بن سلمة العدني حدثنا ابن أبي حازم عن عبد الرحمن بن حرملة

عن أبي علي الهمداني

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

ابن ماجه 983صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Establishing prayer and the sunnah regarding it
Chapter
What is obligatory upon the imam
Numbering
Darussalam 983
Ibn Majah 983