They both come from the same cut of beef. The prime rib can have up to seven rib bones, and a ribeye steak is one of those ribs. The ribeye is then cut into a steak before cooking.