Sunan Abi Dawud, Book 2, Hadith 234 (Abu Dawud 624)

Anas said:

The prophet (ﷺ) persuaded them to say prayer in congregation and prohibited them to leave before he goes away from the prayer.