You need two steps for this. First, use HBr with peroxide on the propene. This gives 1-bromopropane. Then, use NaI in acetone to get 1-iodopropane.