It is allowed. However, if it spilled its outcome on the carpet, floor, or clothes, it will require cleaning. The hair is not najis. However, it is not allowed to pray with parts of not eatable animals on body or clothes. Yes, according to his Eminence, 2 or 3 hairs does not harm the prayer.