There was a great earthquake. God heard them, too. See Acts 4:31. It was God's angel to loose their bonds, open the prison doors, and magnify their work.