A 21-year-old man has appeared in court charged with murdering his mother, having only been released from prison a week earlier.