Inherited from Chagatai سنی (sny), from Arabic سُنِّيّ (sunniyy).
By surface analysis, sunnat + -iy.
sunniy