Abdullah bin Abbas reported,

Allah prescribed the prayer through the tongue of your Prophet ﷺ as four units when at home, two units while traveling, and one unit during fear.

Muslim 1575

Sahih

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

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

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

مسلم 1575صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Travelers' prayer and its shortening
Chapter
Travelers' prayer and its shortening
Numbering
Darussalam 1575
Muslim 1575