If there is one cat hair or there are two or three hairs on a person's body or clothes, his prayer is in order but if there are more than that, his prayer becomes void, as an obligatory precaution. However, if one becomes aware after prayer, his previous prayer(s) are valid.