What is the best way to punctuate the bolded portion of the quotation?

“I thought C.S. Lewis wrote only children’s books said Ryan.


books”, said
books” said,
books,” said
books” said