The obligation of prayer is removed from one who offered it in the masjid with the Imam in congregation
باب سُقُوطِ الصَّلاَةِ عَمَّنْ صَلَّى مَعَ الإِمَامِ فِي الْمَسْجِدِ جَمَاعَةً
2766
An Nasai
Sahih (Darussalam)
أَخْبَرَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ، أَنْبَأَنَا النَّضْرُ، قَالَ حَدَّثَنَا أَشْعَثُ، عَنِ الْحَسَنِ، عَنْ أَنَسٍ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم صَلَّى الظُّهْرَ بِالْبَيْدَاءِ ثُمَّ رَكِبَ وَصَعِدَ جَبَلَ الْبَيْدَاءِ وَأَهَلَّ بِالْحَجِّ وَالْعُمْرَةِ حِينَ صَلَّى الظُّهْرَ .
It was narrated from Anas:
That the Messenger of Allah prayed Zuhr in Al-Baida', then he mounted and rode up the mountain of Al-Baida', and he began the Talbiyah for Hajj and 'Umar when he had prayed Zuhr.
Reference: Sunan an-Nasa'i 2755 In-book : Book 24, Hadith 0 English translation : Vol. 3, Book 24, Hadith 2756
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.