It is narrated from Sayyiduna Zubair (may Allah be pleased with him) that when this verse was revealed, there was a good number of us with the Prophet (peace and blessings be upon him): «﴿وَاتَّقُوافِتْنَةًلَاتُصِيبَنَّالَّذِينَظَلَمُوامِنْكُمْخَاصَّةً﴾ [الأنفال : 25]» "Beware of a trial which will not only afflict those among you who have done wrong (but will be general)." So we began to ask, "What will this trial be?" But we did not think that it would apply to us, until that trial befell us.
Hadith Referenceمسند احمد / مسند باقي العشرة المبشرين بالجنة / 1438