Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
nasai-kubra:11216Muḥammad b. Bashhār > Yaḥyá > Sufyān > ʿĀṣim > Zir > Ḥudhayfah

[Machine] "Glorified is He who took His servant by night from the Sacred Mosque to the Farthest Mosque." [Quran 17:1] He said, "He did not pray in it, and if he had prayed in it, it would have been recorded for you as the Salah in the Ka'bah is recorded for you."  

الكبرى للنسائي:١١٢١٦أَخْبَرَنَا مُحَمَّدُ بْنُ بَشَّارٍ حَدَّثَنَا يَحْيَى قَالَ حَدَّثَنَا سُفْيَانُ قَالَ حَدَّثَنِي عَاصِمٌ عَنْ زِرٍّ عَنْ حُذَيْفَةَ قَالَ

{سُبْحَانَ الَّذِي أَسْرَى بِعَبْدِهِ لَيْلًا مِنَ الْمَسْجِدِ الْحَرَامِ إِلَى الْمَسْجِدِ الْأَقْصَى} [الإسراء 1] قَالَ لَمْ يُصَلِّ فِيهِ وَلَوْ صَلَّى فِيهِ لَكُتِبَ عَلَيْكُمْ كَمَا كُتِبَ عَلَيْكُمُ الصَّلَاةُ فِي الْكَعْبَةِ