(18) باب مَنْ قَالَ يُصَلِّي بِكُلِّ طَائِفَةٍ رَكْعَةً وَلاَ يَقْضُونَ
Narrated Ibn 'Abbas:
Allah, the Exalted, prescribed prayer for you, through the tongue of your Prophet (ﷺ), four rak'ahs while resident, two rak'ahs while travelling and one rak'ah in time of danger.
Reference: Sunan Abi Dawud 1247
In-book reference: Book 4, Hadith 50
English translation: Book 4, Hadith 1242
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.