Abu Hurairah reported,

The Messenger of Allah ﷺ said, "When the prayer has been called to begin, no prayer is to be offered except the obligatory one."Mahmud bin Ghaylan narrated to us, Yazid bin Harun narrated to us, Hammad bin Zayd informed us, from Ayub, from Amr bin Dinar, from Ata bin Yasar, from Abu Hurairah, from the Prophet ﷺ, the like of it.

Ibn Majah 1151

Sahih

حدثنا محمود بن غيلان حدثنا أزهر بن القاسم ح و حدثنا بكر بن خلف أبو بشر حدثنا روح بن عبادة قالا حدثنا زكريا بن إسحق عن عمرو بن دينار عن عطاء بن يسار

عن أبي هريرة

أن رسول الله ﷺ قال إذا أقيمت الصلاة فلا صلاة إلا المكتوبة حدثنا محمود بن غيلان حدثنا يزيد بن هارون أنبأنا حماد بن زيد عن أيوب عن عمرو بن دينار عن عطاء بن يسار عن أبي هريرة عن النبي ﷺ بمثله

ابن ماجه 1151صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Establishing prayer and the sunnah regarding it
Chapter
If the prayer is called, there is no prayer except the obligatory one
Numbering
Darussalam 1151
Ibn Majah 1151