Sunan Abi Da’ud – Hadith No : 1229

Narrated Imran ibn Husayn: I went on an expedition with the Messenger of Allah (ﷺ), and I was present with him at the conquest. He stayed eighteen days in Mecca and prayed only two rak’ahs (at each time of prayer). And he said: You who live in the town must pray four; we are travellers.

Hadith In Arabic Text :

حدثنا موسى بن إسماعيل، حدثنا حماد، ح وحدثنا إبراهيم بن موسى، أخبرنا ابن علية، – وهذا لفظه – أخبرنا علي بن زيد، عن أبي نضرة، عن عمران بن حصين، قال غزوت مع رسول الله صلى الله عليه وسلم وشهدت معه الفتح فأقام بمكة ثماني عشرة ليلة لا يصلي إلا ركعتين ويقول ‏”‏ يا أهل البلد صلوا أربعا فإنا قوم سفر ‏”‏ ‏.‏

Chapter : Detailed Rules of Law about the Prayer during Journey – كتاب صلاة السفر