The man was allowed to return home for his child’s funeral