When we are going through hardships or problems remember this Hadith. The Prophet (pbuh) said that ” If the whole community were to gather together to benefit you with something, they will not benefit you with anything which is not already written by Allah. If a community were to harm you, they will not harm you except that Allah has written it”.
Whatever happens it is written in our Qadr. We take it as a test from Allah and hope we pass it. When you are going through a very hard trial and you remember “Allah has power over all things” it will bring you peace.