Sunan an-Nasa'i, Hadith 866 ⓘ
It was narrated from Abu Hurairah that the Prophet said: "When the Iqamah for prayer is said, there is no prayer except the prescribed prayer."
أَخْبَرَنَا أَحْمَدُ بْنُ عَبْدِ اللَّهِ بْنِ الْحَكَمِ، وَمُحَمَّدُ بْنُ بَشَّارٍ، قَالاَ حَدَّثَنَا مُحَمَّدٌ، عَنْ شُعْبَةَ، عَنْ وَرْقَاءَ بْنِ عُمَرَ، عَنْ عَمْرِو بْنِ دِينَارٍ، عَنْ عَطَاءِ بْنِ يَسَارٍ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " إِذَا أُقِيمَتِ الصَّلاَةُ فَلاَ صَلاَةَ إِلاَّ الْمَكْتُوبَةُ " .
also referenced under: Book 10, Hadith 90 (In-Book) & Volume 1, Book 10, Hadith 867 (DarusSalam)