Hard poop newborn

My baby finally pooped after 26 hours and it was hard. Should I be concerned? What do I do? FTM

He’s 6 weeks old but was born at 34 weeks (Aug 8)