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.
bayhaqi:6931[Chain 1] Abū ʿAbdullāh al-Ḥāfiẓ Fī Ākharīn > Abū al-ʿAbbās Muḥammad b. Yaʿqūb Nbʾ al-Rabīʿ b. Sulaymān Nbʾ al-Shāfiʿī Nbʾ Mālik [Chain 2] Abū ʿAbdullāh al-Ḥāfiẓ > Abū al-ʿAbbās > Muḥammad b. Isḥāq > ʿAbdullāh b. Yūsuf Nbʾ Mālik [Chain 3] Abū ʿAbdullāh al-Ḥāfiẓ Nbʾ Aḥmad b. Yaʿqūb al-Thaqafī > Mūsá b. Muḥammad al-Dhuhlī > Yaḥyá b. Yaḥyá > Mālik > Ibn Shihāb > Saʿīd b. al-Musayyib > Abū Hurayrah

[Machine] That the Messenger of Allah ﷺ announced to the people the death of Al-Najashi on the day he died and took them with him to the prayer place and described them and made four takbirs [utterances of "Allahu Akbar"] - wording of the hadith of Al-Shafi'i and Abdullah, and in the narration of Yahya, he went out to the prayer place and made four takbirs.  

البيهقي:٦٩٣١أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ فِي آخَرِينَ قَالُوا ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ أنبأ الرَّبِيعُ بْنُ سُلَيْمَانَ أنبأ الشَّافِعِيُّ أنبأ مَالِكٌ ح وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو الْعَبَّاسِ ثنا مُحَمَّدُ بْنُ إِسْحَاقَ ثنا عَبْدُ اللهِ بْنُ يُوسُفَ أنبأ مَالِكٌ ح وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنبأ أَحْمَدُ بْنُ يَعْقُوبَ الثَّقَفِيُّ ثنا مُوسَى بْنُ مُحَمَّدٍ الذُّهْلِيُّ ثنا يَحْيَى بْنُ يَحْيَى قَالَ قَرَأْتُ عَلَى مَالِكٍ عَنِ ابْنِ شِهَابٍ عَنْ سَعِيدِ بْنِ الْمُسَيِّبِ عَنْ أَبِي هُرَيْرَةَ

أَنْ رَسُولَ اللهِ ﷺ نَعَى لِلنَّاسِ النَّجَاشِيَّ الْيَوْمَ الَّذِي مَاتَ فِيهِ وَخَرَجَ بِهِمْ إِلَى الْمُصَلَّى وَصَفَّ بِهِمْ وَكَبَّرَ أَرْبَعَ تَكْبِيرَاتٍ لَفْظُ حَدِيثِ الشَّافِعِيِّ وَعَبْدِ اللهِ وَفِي رِوَايَةِ يَحْيَى فَخَرَجَ إِلَى الْمُصَلَّى وَكَبَّرَ أَرْبَعَ تَكْبِيرَاتٍ  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ عَبْدِ اللهِ بْنِ يُوسُفَ وَرَوَاهُ مُسْلِمٌ عَنْ يَحْيَى بْنِ يَحْيَى

See similar narrations below:

Collected by Mālik
malik:16-15Yaḥyá > Mālik > Ibn Shihāb > Saʿīd b. al-Musayyab > Abū Hurayrah

Yahya related to me from Malik from Ibn Shihab from Said ibn al- Musayyab from Abu Hurayra that the Messenger of Allah ﷺ announced the death of an Najashi to everyone on the day that he died, and went out with them to the place of prayer, and then formed them into rows and said "Allah is greater" four times.  

مالك:١٦-١٥حَدَّثَنِي يَحْيَى عَنْ مَالِكٍ عَنِ ابْنِ شِهَابٍ عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ عَنْ أَبِي هُرَيْرَةَ

أَنَّ رَسُولَ اللَّهِ ﷺ نَعَى النَّجَاشِيَّ لِلنَّاسِ فِي الْيَوْمِ الَّذِي مَاتَ فِيهِ وَخَرَجَ بِهِمْ إِلَى الْمُصَلَّى فَصَفَّ بِهِمْ وَكَبَّرَ أَرْبَعَ تَكْبِيرَاتٍ