Joshua 10:12-14

12 Then spoke Joshua to the LORD in the day when the LORD delivered up the Amorites before the children of Israel, and he said in the sight of Israel, Sun, stand you still on Gibeon; and you, Moon, in the valley of Ajalon.

13 And the sun stood still, and the moon stayed, until the people had avenged themselves on their enemies. Is not this written in the book of Jasher? So the sun stood still in the middle of heaven, and hurried not to go down about a whole day.

14 And there was no day like that before it or after it, that the LORD listened to the voice of a man: for the LORD fought for Israel.