Namaz And Ghusl
Five minutes is too small. However, if there is a short time then you should make it a little fast to say the prayer in time.