AYODHYA, Jun 26: A court has granted police custody of all eight accused arrested in connection with the alleged embezzlement of donations at the Ram temple in Ayodhya till June 29, during which investigators will continue questioning them.