Okay so I really don't want to sound greedy so I'll give some back story...
In January 2018 my father in law was diagnosed with terminal brain cancer thankfully he has outlived his prognosis but we have been told not to expect another 12 -18 months... anyway he recently was paid his life insurance early due to his policy's t&c he was aloud it before he died. He gave my partner 22k to put down as a deposit for a house so we can finally get on the property ladder.
Here is where we've got a bump In the road we're currently on universal credit getting around £500 a month as my wage is very low as I'm on maternity leave getting around £200 a month. But now because we have the "savings" (inheritance) our universal credit has been stopped leaving us £500 short a month. We currently are not in any position to buy as we are due a baby in 12 days and still have a year left on our tenancy as we took out a long one to be financially stable. If we have to take a £6k chunk out of the inheritance for the next year we basically can't afford to buy a house again once you take in to account all the fees etc then we are back at square one also I feel awful that we've been given so much money for a house but we have no choice but to spend it on our bills.
Has anyone had this issue themselves ?
Can we transfer the money back to his parents until we are ready to buy?
I honestly don't know what to do as the only reason we're clamming UC is while I'm on maternity leave to help boost our income and now it's a moot point and we're basically going to loose 6k of my father in laws money just to live. Usually I would be 100% up for using it towards living costs but when your dying father in law gives you a set amount for a house and you have to spend 6k just to live the guilt and stress is killing me as it's all because of me 
Please be gentle on me I really do not want to sound greedy! I just feel massive amounts of guilt because it's not my inheritance to spend but I feel like I'm the reason it's got to be spent if that makes sense.
Thank you for any reply and well done for reading all of this!
P.s sorry for any grammar errors it's 1:30am 