Abdullah bin Masud reported,

I prayed with the Messenger of Allah ﷺ, and he prolonged the prayer so much that I considered doing something wrong.He was asked, "What did you consider doing?"He replied, "I considered sitting down and leaving him."

Azami 2727

Sahih

عن عبد الله بن مسعود قال

صليت مع رسول الله ﷺ فأطال حتى هممت بأمر سوء، قال: قيل: وما هممت به؟ قال: هممت أن أجلس وأدعه.

الأعظمي 2727صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Minor actions do not invalidate the prayer
Section
Standing long in prayer is the best prayer
Numbering
Jami al-Kamil 2727 (2nd edition)
Azami 2727