(78) باب فِيمَنْ يَنْصَرِفُ قَبْلَ الإِمَامِ
Anas said:
The prophet (ﷺ) persuaded them to say prayer in congregation and prohibited them to leave before he goes away from the prayer.
Reference: Sunan Abi Dawud 624
In-book reference: Book 2, Hadith 234
English translation: Book 2, Hadith 624
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.