If any person on whom a writ of habeas corpus is served fails to bring the body of the petitioner, with a return of the cause of his or her detention, at the time and place specified in the writ, he or she shall forfeit and pay the prisoner one thousand dollars ($1,000).