The Messenger of Allah (ﷺ) stayed at Tabuk twenty days; he shortened the prayer (during his stay).

Abu Dawud said: No one narrates this tradition with continuous chain except Ma'mar.
Sunan Abi Dawud Book 4, Hadith 38