Tap the “Report” button next to the message in the Chat sub-tab under the Social tab.
Reporting a message will automatically mute the player, so you won’t receive further messages from them.