Sunan Abu Dawud #4350
Battles (Kitab Al-Malahim) 39:60
Narrated Sa'd ibn AbuWaqqas:
The Prophet (ﷺ) said: I hope my community will not fail to maintain their position in the sight of their Lord if He delays them half a day. Sa'd was asked: How long is half a day? He said: It is five hundred years.