Is it grammatically correct to say :

> 
> The sun will not rise before an hour. 
> 
> 
> 

Or it should be 

> 
> The sun will not rise in an hour. 
> 
> 
> 

In my opinion both sentences are correct with a subtle difference in meaning .