Anas bin Malik reported,

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

Azami 1727

Sahih

عن أنس قال

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

الأعظمي 1727صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Obligation of prayer and its virtue
Section
How and how many prayers Allah obligated upon His servants
Numbering
Jami al-Kamil 1727 (2nd edition)
Azami 1727