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:16:113

And there had certainly come to them a Messenger from among themselves, but they denied him; so punishment overtook them while they were wrongdoers.  

And verily there came to them a messenger from among them, Muhammad (s), but they denied him, and so the chastisement, of hunger and fear, seized them while they were evildoers.
القرآن:١٦:١١٣

وَلَقَدْ جَاءَهُمْ رَسُولٌ مِنْهُمْ فَكَذَّبُوهُ فَأَخَذَهُمُ الْعَذَابُ وَهُمْ ظَالِمُونَ  

{ولقد جاءهم رسول منهم} محمد ﷺ {فكذبوه فأخذهم العذاب} الجوع والخوف {وهم ظالمون}.