Abdullah bin Abbas reported,

Allah, the Exalted, prescribed the prayer through the tongue of your Prophet ﷺ as four units while resident, two units while traveling, and one unit during times of fear.

Abu Dawud 1247

Sahih

حدثنا مسدد وسعيد بن منصور قالا حدثنا أبو عوانة عن بكير بن الأخنس عن مجاهد

عن ابن عباس قال

فرض الله تعالى الصلاة على لسان نبيكم ﷺ في الحضر أربعا وفي السفر ركعتين وفي الخوف ركعة

أبو داود 1247صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Prayer while traveling
Chapter
Those who said he prays one rakat with each group and they do not make up
Numbering
Darussalam 1247
Abu Dawud 1247