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:20964[Chain 1] Abū ʿAbdullāh al-Ḥāfiẓ > Abū al-ʿAbbās Muḥammad b. Aḥmad b. Maḥbūb al-Tājir Bimarw > Saʿīd b. Masʿūd > al-Naḍr b. Shumayl > Shuʿbah [Chain 2] And ʾNbʾ Muḥammad b. Yaʿqūb > ʿAbdullāh b. Muḥammad > Muḥammad b. al-Muthanná > Muḥammad b. Jaʿfar > Shuʿbah > ʿAbd al-Malik b. ʿUmayr > Abū Salamah > Abū Hurayrah ؓ

[Machine] The Messenger of Allah ﷺ said, "Indeed, the most truthful statement ever spoken by poets is: 'Verily, everything without Allah is falsehood.' This is in the poem of al-Bahr al-Taweel. And in another narration by Ghandar on the authority of the Prophet ﷺ ."  

البيهقي:٢٠٩٦٤أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنبأ أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ أَحْمَدَ بْنِ مَحْبُوبٍ التَّاجِرُ بِمَرْوَ ثنا سَعِيدُ بْنُ مَسْعُودٍ ثنا النَّضْرُ بْنُ شُمَيْلٍ أنبأ شُعْبَةُ ح قَالَ وَأنبأ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا عَبْدُ اللهِ بْنُ مُحَمَّدٍ ثنا مُحَمَّدُ بْنُ الْمُثَنَّى ثنا مُحَمَّدُ بْنُ جَعْفَرٍ ثنا شُعْبَةُ عَنْ عَبْدِ الْمَلِكِ بْنِ عُمَيْرٍ عَنْ أَبِي سَلَمَةَ عَنْ أَبِي هُرَيْرَةَ ؓ

أَنَّ رَسُولَ اللهِ ﷺ قَالَ إِنَّ أَصْدَقَ بَيْتٍ قَالَتْهُ الشُّعَرَاءُ [البحر الطويل] أَلَا كُلُّ شَيْءٍ مَا خَلَا اللهَ بَاطِلُ لَفْظُ حَدِيثِ النَّضْرِ وَفِي رِوَايَةِ غُنْدَرٍ عَنِ النَّبِيِّ ﷺ  

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

See similar narrations below:

Collected by Aḥmad
ahmad:9905Muḥammad b. Jaʿfar > Shuʿbah > ʿAbd al-Malik b. ʿUmayr > Abū Salamah > Abū Hurayrah

The truest couplet recited by a poet is: "Behold! apart from Allah everything is vain," and he made no addition to it. (Using translation from Muslim 2256d)   

أحمد:٩٩٠٥حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ قَالَ حَدَّثَنَا شُعْبَةُ عَنْ عَبْدِ الْمَلِكِ بْنِ عُمَيْرٍ عَنْ أَبِي سَلَمَةَ عَنْ أَبِي هُرَيْرَةَ

عَنِ النَّبِيِّ ﷺ أَنَّهُ قَالَ إِنَّ أَصْدَقَ بَيْتٍ قَالَتْهُ الشُّعَرَاءُ[البحر الطويل]أَلَا كُلُّ شَيْءٍ مَا خَلَا اللهَ بَاطِلُ