Hadith 23320

حَدَّثَنَا إِسْمَاعِيلُ بنُ عُمَرَ ، حَدَّثَنَا سُفْيَانُ ، عَنْ عَاصِمٍ ، عَنْ زِرٍّ ، عَنْ حُذَيْفَةَ ، قَالَ : " لَمْ يُصَلِّ النَّبيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فِي بيْتِ الْمَقْدِسِ ، وَلَوْ صَلَّى فِيهِ ، لَكُتِب عَلَيْكُمْ صَلَاةُ نَبيِّكُمْ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ " .
It is narrated from Hazrat Hudhaifah (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) did not pray in Bayt al-Maqdis. If the Noble Prophet (peace and blessings be upon him) had prayed there, then that prayer would have become obligatory upon you as well.
Hadith Reference مسند احمد / مسند الأنصار رضي الله عنهم / 23320
Hadith Grading حکم دارالسلام: إسناده حسن