Abdominal pain with bowel movement

I went to go to the bathroom #2 and I had this crazy abdominal pain right in front not on one side or the other. 
 I thought I was killing the baby . I didn't even have hard stools. The pain didn't last long but it was really weird. 
Anyone else ?