Ref. No. 41/982
In the name of Allah the most gracious the most merciful
The answer to your question is as follows:
The above mentioned hadith is recorded in Sunan Ibne Majah and its isnad is dhaeef (weak).
(حدیث نمبر1413، باب ماجاء فی الصلوۃ فی المسجد الجامع(
And Allah knows best
Darul Ifta
Darul Uloom Waqf Deoband