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:6:40

Say, "Have you considered: if there came to you the punishment of Allah or there came to you the Hour - is it other than Allah you would invoke, if you should be truthful?"  

Say, O Muhammad (s), to the Meccans: ‘Do you see yourselves, ˹that is˺ inform me, if God’s chastisement comes upon you, in this world, or the Hour, the Resurrection, which includes this ˹chastisement˺, comes upon you, suddenly, will ye call upon any other than God? No! If you speak truly!’, that the idols can benefit you, then call upon them.
القرآن:٦:٤٠

قُلْ أَرَأَيْتَكُمْ إِنْ أَتَاكُمْ عَذَابُ اللَّهِ أَوْ أَتَتْكُمُ السَّاعَةُ أَغَيْرَ اللَّهِ تَدْعُونَ إِنْ كُنْتُمْ صَادِقِينَ  

{قل} يا محمد لأهل مكة {أرأيتكم} أخبروني {أن أتاكم عذاب الله} في الدنيا {أو أتتكم الساعة} القيامة المشتملة عليه بغتة {أغير الله تدعون} لا {إن كنتم صادقين} في أن الأصنام تنفعكم فادعوها.