In Castling, the King must be moved first, or before the Rook is quitted. If the Rook be quitted before the King is touched, the opposing player may demand that the move of the Rook shall stand without the Castling being completed.
Howard StauntonFor touching an adversary's man, when it cannot be captured, the offender must move his King.
Howard Staunton