Pediatrics

A 6 month child woke up in night crying with abdominal pain which got relieved on passing red stools. What is the diagnosis?