Quran 29:10 translation
Some people say, "We have faith in allah." But when they face some hardship for His cause, they begin to consider the persecution that they have experienced from people as a torment from the god. When your Lord grants you a victory, they say, "We were with you." Does alaha not know best what is in the hearts of every creature?
Is this not true?

Narrated Abu Huraira:

I heard Allah's Apostle saying, "I have been sent with Jawami al-Kalim (i.e., the shortest expression carrying the widest meanings), and I was made victorious with awe (caste into the hearts of the enemy), and while I was sleeping, the keys of the treasures of the earth were brought to me and were put in my hand." Muhammad said, Jawami'-al-Kalim means that Allah expresses in one or two statements or thereabouts the numerous matters that used to be written in the books revealed before (the coming of) the Prophet .