Anas bin Malik reported,

A man asked the Messenger of Allah ﷺ, "Messenger of Allah, how many prayers has Allah عز وجل made obligatory upon His servants?"He replied, "Allah has made five prayers obligatory upon His servants."The man asked, "Messenger of Allah, is there anything required before them or after them?"He said, "Allah has made five prayers obligatory upon His servants."So the man swore that he would neither add anything to them nor leave anything out.The Messenger of Allah ﷺ said, "If he is truthful, he will surely enter Paradise."

Nasai 460

Sahih

أخبرنا قتيبة قال حدثنا نوح بن قيس عن خالد بن قيس عن قتادة

عن أنس قال

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

النسائي 460صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Prayer
Chapter
How many prayers were obligated in the day and night
Numbering
Darussalam 460
Nasai 460