Allah will bring this matter to its consummation
Khabbab bin Al-Aratt (radi Allahu anhu) reported: We complained to the Messenger of Allah (sal Allahu alaihi wa sallam) regarding the persecution inflicted upon us by the disbelievers while he was lying in the shade of the Ka’bah, having made a pillow of his cloak. We submitted: “Why do you not supplicate for our prevalence (over the opponents)?”. He (sal Allahu alaihi wa sallam) replied, “Among those people before you, a man would be seized and held in a pit dug for him in the ground and he would be sawed into two halves from his head, and his flesh torn away from his bones with an iron comb; but, in spite of this, he would not wean away from his Faith. By Allah, Allah will bring this matter to its consummation until a rider will travel from San’a to Hadramout fearing none except Allah, and except the wolf for his sheep, but you are in too much of a hurry.”
Another narration is: He (sal Allahu alaihi wa sallam) had placed his cloak under his head and we had been tortured by the polytheists.
We learn from this hadith:
1. Difficulties in the path of Faith do not come in any particular period. People devoted to their Deen have passed through trials and tribulations everywhere and in every age and have emerged purified as does the gold after passing through the furnace. So, it is unbecoming for a Muslim to be disturbed by hardships.
2. The glad tidings about domination of religion and peace and security were given in the early period of Islam which were subsequently witnessed by the people. Even now wherever Islam is practiced in true sense, peace and security are distinctive features of the system of that country.
And Allah Knows Best!