Father banned from taking son to church