it depends, if the money is from an inheritance then it is safe provided the deceased passed away post discharge. If the death was whilst you were a bankrupt but the monies were received post bankruptcy then the inheritanc goes to the Official Receiver as, in law, the inheritance is deemed as belonging to you immediately the death occurs even though the monies have not been received.
If the money was back pay or an annual bonus then that too is at risk as a proportion of it would have been earnt within the bankrupt period.