Quotation marks
Example:

“You have a poetic soul,” his mother always told him.

“You have a poetic soul”, his mother always told him.

The first sentence is correct. The comma should be placed inside the closing quotation marks.