P eter therefore was kept in the prison: but prayer was made earnestly of the church unto God for him.
So Peter was kept in the prison, but prayer for him was being made fervently by the church to God.