The Messenger of Allah ﷺ used to perform witr with five prostrations, not sitting between them until he sat in the fifth, then he would give the salam.
حدثنا يونس قال حدثنا الليث عن هشام عن عروة
أن رسول الله ﷺ كان يوتر بخمس سجدات لا يجلس بينهن حتى يجلس في الخامسة ثم يسلم