The Messenger of Allah ﷺ said, "When the prayer has been called to begin, no prayer is to be performed except the obligatory one."
حدثنا أزهر بن القاسم حدثنا زكريا بن إسحاق عن عمرو بن دينار عن عطاء بن يسار
أن رسول الله ﷺ قال إذا أقيمت الصلاة فلا صلاة إلا المكتوبة