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:3124ʿAbd b. Ḥumayd

that the Messenger of Allah ﷺ said: "Al-Hamdulillah is Umm Al-Qur'an and Umm Al-Kitab and the seven oft-repeated."  

Abū ʿĪsá said that this Ḥadīth is Ḥasan-Ṣaḥīḥ.
الترمذي:٣١٢٤حَدَّثَنَا عَبْدُ بْنُ حُمَيْدٍ حَدَّثَنَا أَبُو عَلِيٍّ الْحَنَفِيُّ عَنِ ابْنِ أَبِي ذِئْبٍ عَنِ الْمَقْبُرِيِّ عَنْ أَبِي هُرَيْرَةَ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ الْحَمْدُ لِلَّهِ أُمُّ الْقُرْآنِ وَأُمُّ الْكِتَابِ وَالسَّبْعُ الْمَثَانِي  

قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ

See similar narrations below:

Collected by Abū Dāwūd, Dārimī, Suyūṭī
abudawud:1457Aḥmad b. Abū Shuʿayb al-Ḥarrānī > ʿĪsá b. Yūnus > Ibn Abū Dhiʾb > al-Maqburī > Abū Hurayrah

All praise be to Allah, the Lord of the Universe" (1) is the epitome or basis of the Qur'an, the epitome or basis of the Book, and the seven oft-repeated verses.  

أبو داود:١٤٥٧حَدَّثَنَا أَحْمَدُ بْنُ أَبِي شُعَيْبٍ الْحَرَّانِيُّ حَدَّثَنَا عِيسَى بْنُ يُونُسَ حَدَّثَنَا ابْنُ أَبِي ذِئْبٍ عَنِ الْمَقْبُرِيِّ عَنْ أَبِي هُرَيْرَةَ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ { الْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَ } أُمُّ الْقُرْآنِ وَأُمُّ الْكِتَابِ وَالسَّبْعُ الْمَثَانِي  

darimi:3417Abū ʿAlī al-Ḥanafī > Ibn Abū Dhiʾb > al-Maqburī > Abū Hurayrah

that the Messenger of Allah ﷺ said: "Al-Hamdulillah is Umm Al-Qur'an and Umm Al-Kitab and the seven oft-repeated." (Using translation from Tirmidhī 3124)  

الدارمي:٣٤١٧أَخْبَرَنَا أَبُو عَلِيٍّ الْحَنَفِيُّ حَدَّثَنِي ابْنُ أَبِي ذِئْبٍ عَنْ الْمَقْبُرِيِّ عَنْ أَبِي هُرَيْرَةَ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ «الْحَمْدُ لِلَّهِ أُمُّ الْقُرْآنِ وَأُمُّ الْكِتَابِ وَالسَّبْعُ الْمَثَانِي»