Minimum stay in hospital?

I’m 32 weeks pregnant and I wondered if anyone in Scotland knew what the minimum stay in hospital is if your birth and baby is fine?

Will they only keep you in for 4-6 hours or will they keep you at least 12-24 hours?