The sun stood still and the moon did not move until the nation had conquered its enemies. This is written in The Book of Jashar. The sun stood still in the middle of the sky and did not go down for a whole day. 1
References for Joshua 10:13
10.13 2 S 1.18+2 Si 46.4-6.