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.
tirmidhi:874Qutaybah > Ḥammād b. Zayd > ʿAmr b. Dīnār > Ibn ʿUmar > Bilāl

"The Prophet performed Salat in the interior of the Ka'bah." And Ibn Abbas said: "He did not perform Salat in it, but he said the Takbir."  

الترمذي:٨٧٤حَدَّثَنَا قُتَيْبَةُ حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ عَنْ عَمْرِو بْنِ دِينَارٍ عَنِ ابْنِ عُمَرَ عَنْ بِلاَلٍ

أَنَّ النَّبِيَّ ﷺ صَلَّى فِي جَوْفِ الْكَعْبَةِ قَالَ ابْنُ عَبَّاسٍ لَمْ يُصَلِّ وَلَكِنَّهُ كَبَّرَ قَالَ وَفِي الْبَابِ عَنْ أُسَامَةَ بْنِ زَيْدٍ وَالْفَضْلِ بْنِ عَبَّاسٍ وَعُثْمَانَ بْنِ طَلْحَةَ وَشَيْبَةَ بْنِ عُثْمَانَ  

قَالَ أَبُو عِيسَى حَدِيثُ بِلاَلٍ حَدِيثٌ حَسَنٌ صَحِيحٌ وَالْعَمَلُ عَلَيْهِ عِنْدَ أَكْثَرِ أَهْلِ الْعِلْمِ لاَ يَرَوْنَ بِالصَّلاَةِ فِي الْكَعْبَةِ بَأْسًا وَقَالَ مَالِكُ بْنُ أَنَسٍ لاَ بَأْسَ بِالصَّلاَةِ النَّافِلَةِ فِي الْكَعْبَةِ وَكَرِهَ أَنْ تُصَلَّى الْمَكْتُوبَةُ فِي الْكَعْبَةِ وَقَالَ الشَّافِعِيُّ لاَ بَأْسَ أَنْ تُصَلَّى الْمَكْتُوبَةُ وَالتَّطَوُّعُ فِي الْكَعْبَةِ لأَنَّ حُكْمَ النَّافِلَةِ وَالْمَكْتُوبَةِ فِي الطَّهَارَةِ وَالْقِبْلَةِ سَوَاءٌ