"Magistrate may, at any stage of hearing of the application for protection order or for any other relief under this Act grant temporary custody of