[Machine] Indeed, when the Prophet (pbuh) arrived in Medina, he asked about Al-Bara' bin Ma'rur. They informed him that he had passed away and had instructed that one-third of his wealth be given to the Prophet (pbuh) and also that he be directed towards the Qibla (direction of prayer) when he was close to death. The Prophet (pbuh) said, "He has done well, and I have already returned two-thirds of his wealth to his children." Then he went and offered the funeral prayer for him saying, "O Allah, forgive him, have mercy on him, and admit him into your Paradise, for you have done so." This is an authentic Hadith, as Al-Bukhari attested through Nu'aim bin Hammad, and Muslim attested through Al-Daraqutni. They did not exclude this Hadith, and I do not know of any other Hadith regarding the dying person facing the Qibla.
أَنَّ النَّبِيَّ ﷺ حِينَ قَدِمَ الْمَدِينَةَ سَأَلَ عَنِ الْبَرَاءِ بْنِ مَعْرُورٍ فَقَالُوا تُوُفِّيَ وَأَوْصَى بِثُلُثِهِ لَكَ يَا رَسُولَ اللَّهِ وَأَوْصَى أَنْ يُوَجَّهَ إِلَى الْقِبْلَةِ لَمَّا احْتُضِرَ فَقَالَ رَسُولُ اللَّهِ ﷺ «أَصَابَ الْفِطْرَةَ وَقَدْ رَدَدْتُ ثُلُثَهُ عَلَى وَلَدِهِ» ثُمَّ ذَهَبَ فَصَلَّى عَلَيْهِ فَقَالَ «اللَّهُمَّ اغْفِرْ لَهُ وَارْحَمْهُ وَأَدْخِلْهُ جَنَّتَكَ وَقَدْ فَعَلْتَ» هَذَا «حَدِيثٌ صَحِيحٌ» فَقَدِ احْتَجَّ الْبُخَارِيُّ بِنُعَيْمِ بْنِ حَمَّادٍ وَاحْتَجَّ مُسْلِمُ بْنُ الْحَجَّاجِ بِالدَّرَاوَرْدِيِّ وَلَمْ يُخَرِّجَا هَذَا الْحَدِيثَ وَلَا أَعْلَمُ فِي تَوَجُّهِ الْمُحْتَضَرِ إِلَى الْقِبْلَةِ غَيْرَ هَذَا الْحَدِيثِ