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:4:170

O Mankind, the Messenger has come to you with the truth from your Lord, so believe; it is better for you. But if you disbelieve - then indeed, to Allah belongs whatever is in the heavens and earth. And ever is Allah Knowing and Wise.  

O people, of Mecca, the Messenger, Muhammad (s), has now come to you with the truth from your Lord; so believe, in him and seek what, it is better for you, than that which you are presently seeking. And if you disbelieve, in him, then surely to God belongs all that is in the heavens and in the earth, as possessions, creatures and servants, and your disbelief will not harm Him; and God is ever Knowing, of His creation, Wise, in what He does with them.
القرآن:٤:١٧٠

يَا أَيُّهَا النَّاسُ قَدْ جَاءَكُمُ الرَّسُولُ بِالْحَقِّ مِنْ رَبِّكُمْ فَآمِنُوا خَيْرًا لَكُمْ ۚ وَإِنْ تَكْفُرُوا فَإِنَّ لِلَّهِ مَا فِي السَّمَاوَاتِ وَالْأَرْضِ ۚ وَكَانَ اللَّهُ عَلِيمًا حَكِيمًا  

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