Sunan Ibn Majah, Book 5, Hadith 598 (Ibn Majah 1400)

It was narrated that Ibn ‘Abbas said:

“Your Prophet (ﷺ) was enjoined to do fifty prayers but he returned to your Lord to make (i.e., reduce) them to five prayers.”