Thank you for choosing DoctorSpring
Regarding Ibuprofen 400-800 mg every 6 (SIX) hours is the safe and recommended dose. (maximum 3.2mg in a day).
Codeine -15-60 mg every 4-6 hours
So if he had his medication 3 hours before I would NOT recommend taking it within the 3 hour interval. You should atleast wait for 4-5 hours if it is a combination medication.
Hope this helps
Feel free to ask followups