Birth at 31 weeks

Has anyone given birth at 31 weeks? Will the baby be ok? My friend just went into labor