Yes, the hadeeths are saying that there is water under the throne of Allah and the sun sets under his Throne. And the verses is talking about the sun setting in water.