In this paper, we have studied a prey–predator model living in a habitat that divided into two regions: an unreserved region and a reserved (refuge) region. The migration between these two regions is allowed. The interaction between unreserved prey and predator is Crowley–Martin‐type functional response. The local and global stability of the system is discussed. Further, the system is extended to incorporate the effect of time delay. Then the dynamical behavior of the system is analyzed, taking delay as a bifurcation parameter. The direction of Hopf bifurcation and the stability of the bifurcated periodic solution are determined with the help of normal form theory and centre manifold theorem. We have also discussed the influence of prey refuge on densities of prey and predator species. The analytical results are supplemented with numerical simulations. Copyright © 2017 John Wiley & Sons, Ltd.