Generally, it is OK to feed Syrian hamsters raisins. However, it's probably not best to feed a Dwarf hamster raisins, seeing as they are essentially a fruit.
Hope that helps!
Hope that helps!