A benefits cheat who illegally claimed thousands of pounds after receiving a hefty inheritance payment has been fined in court.