Yaala bin Umaya reported,

I said to Umar bin Khattab, "'There is no blame upon you if you shorten the prayer, if you fear that those who disbelieve may harm you' [Nisa 4:101], yet the people are now safe."Umar replied, "I wondered at the very thing you wonder at, so I asked the Messenger of Allah ﷺ about it."He said, "It is a charity that Allah has bestowed upon you, so accept His charity."

Azami 2860

Sahih

عن يعلى بن أمية قال

قلت لعمر بن الخطاب: {فليس عليكم جناح أن تقصروا من الصلوة إن خفتم أن يفتنكم الذين كفروا} [سورة النساء: ١٠١] فقد أمن الناس. فقال: عجبت مما عجبت منه. فسألت رسول الله ﷺ عن ذلك فقال: صدقة تصدق الله بها عليكم فاقبلوا صدقته.

الأعظمي 2860صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Witr prayer
Section
Permissibility of shortening prayer during travel even if the route is safe
Numbering
Jami al-Kamil 2860 (2nd edition)
Azami 2860