Article based on thesis and co authorship
If this is the case, what he is doing is not morally correct. You can refuse his request and thank him inside the acknowledgement part of your article for helping you. An author of an article should make some major contributions to the work, even if he is not writing any part of the article. Minor contributors should be mentioned in the acknowledgement section.