Abdullah bin Abbas reported,

Allah عز وجل prescribed the prayer through the tongue of your Prophet ﷺ as four units while at home, two units while traveling, and one unit during times of fear.

Ahmad 2177

Sahih

حدثنا القاسم بن مالك المزني أبو جعفر عن أيوب بن عائذ عن بكير بن الأخنس عن مجاهد

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

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

أحمد 2177صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Abbas bin Abdul-Muttalib
Numbering
Darussalam 2177
Ahmad 2177