Why use feminine singular «الَّتِي» with «الْكُتُبَ»?

Relative Nouns — Ṣilah, ʿĀʾid, Forms and Syntax