Anas bin Malik reported,

The Prophet ﷺ was praying at night during Ramadan when a group of people came and stood behind him to pray with him. He prayed briefly, then entered his house and prayed there, then came back out and prayed briefly again.When morning came, they said, "Messenger of Allah, we stood behind you last night, but you would enter your house and then come back out. Why?"He replied, "I only did that for your sake."

Azami 4643

Sahih

عن أنس بن مالك

أن النبي ﷺ كان يصلي بالليل في رمضان، فجاء قوم فقاموا خلفه، فصلى فكان يخفف، ثم يدخل بيته فيصلي، ثم يخرج ويخفف. فلما أصبح، قالوا: يا رسول الله، قمنا خلفك الليلة، فكنت تدخل بيتك ثم تخرج؟ فقال: إنما فعلت ذلك من أجلكم.

الأعظمي 4643صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Fasting
Chapter
Night prayer in Ramadan
Section
Messenger of Allah ﷺ not continuing to lead tarawih in congregation out of fear it would become obligatory upon the ummah
Numbering
Jami al-Kamil 4643 (2nd edition)
Azami 4643