Is the prayer intact if I pray behind a sunni in jamaat?

According to the ruling of Ayatullah Sistani you can pray behind Sunni Imam but you must make Niyat of furada (pray entire prayer yourself)
You can not make the Niyat of jamat.