Answer:
The boys swore that the books were theirs.
Step-by-step explanation:
The idea that "theirs" needs an apostrophe, comes out of the fact that on virtually every other word, 's indicates possession, so English speakers sometimes think theirs should be spelled their's. However, this is always incorrect – theirs is the only correct spelling.