Just in the Salah itself there are more than 5 fara'id.. He's just wrong, or maybe he was talking about the 5 "pillars" (arkan) of Islam; which don't prevent the existance of many other things being obligatory (i.e. abstaining from pork is not in the 5 pillars, but still it's absolutely compulsory).