The Prophet (ﷺ) used to pray a short prayer (in congregation) but used to offer it in a perfect manner.
Sahih al-Bukhari Book 10, Hadith 101