Joshua 10:12-13

MLV(i) 12 Then Joshua spoke to Jehovah in the day when Jehovah delivered up the Amorites before the sons of Israel. And he said in the sight of Israel, Sun, stand still upon Gibeon and you, Moon, in the valley of Aijalon.
13 And the sun stood still and the moon stayed, until the nation had avenged themselves of their enemies. Is this not written in the book of Jashar? And the sun stayed in the midst of heaven and hastened not to go down about a whole day.