4 day old baby not pooping. first time mom help me I need sleep

Dani
My baby is 4 days old and he hasn't pooped since last night at 2am. I spoke to on call nurse she said to call again if he doesn't have a bowel movement by 8am tomorrow. He is gassy and we cannot soothe him. He wants to sleep but can't. Please help. We need sleep and I don't like to see him uncomfortable. I know he wants to poop. He is feeding well and having plenty of wet diapers.