«أولئك على هدى من ربهم» refers back to the God-conscious people whose attributes have been stated.

Defining the Subject by Demonstration: Rhetorical Purposes of Demonstratives