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.
quran:28:88

And do not invoke with Allah another deity. There is no deity except Him. Everything will be destroyed except His Face. His is the judgement, and to Him you will be returned.  

And do not call on, ˹do not˺ worship, another god with God; there is no god except Him. Everything will perish except His Countenance, except Him. His is the judgement, the effective decree, and to Him you will be brought back, by being raised from the grave. Meccan, except for verses 1 to 11 inclusive, which are Medinese; it consists of 69 verses revealed after ˹sūrat˺ al-Rūm.
القرآن:٢٨:٨٨

وَلَا تَدْعُ مَعَ اللَّهِ إِلَٰهًا آخَرَ ۘ لَا إِلَٰهَ إِلَّا هُوَ ۚ كُلُّ شَيْءٍ هَالِكٌ إِلَّا وَجْهَهُ ۚ لَهُ الْحُكْمُ وَإِلَيْهِ تُرْجَعُونَ  

{ولا تدعُ} تعبد {مع الله إلها آخر لا إله إلا هو كل شيءٍ هالك إلا وجهه} إلا إياه {له الحكم} القضاء النافذ {وإليه ترجعون} بالنشور من قبوركم.

See similar narrations below:

Collected by Qurʾān
quran:28:70

And He is Allah; there is no deity except Him. To Him is ˹due all˺ praise in the first ˹life˺ and the Hereafter. And His is the ˹final˺ decision, and to Him you will be returned.  

And He is God; there is no god except Him. To Him belongs ˹all˺ praise in the former, namely, the life of this world, and in the latter, Paradise. And to Him belongs the judgement, the decree effective in ˹the case of˺ all things, and to Him you will be returned, through resurrection.
القرآن:٢٨:٧٠

وَهُوَ اللَّهُ لَا إِلَٰهَ إِلَّا هُوَ ۖ لَهُ الْحَمْدُ فِي الْأُولَىٰ وَالْآخِرَةِ ۖ وَلَهُ الْحُكْمُ وَإِلَيْهِ تُرْجَعُونَ  

{وهو الله لا إله إلا هو له الحمد في الأولى} الدنيا {والآخرة} الجنة {وله الحكم} القضاء النافذ في كل شيء {وإليه ترجعون} بالنشور.