«الدَّارِ» is genitive in «فِي الدَّارِ».
Types of Khabar and the Linking Pronoun