The middle-aged man who left the house was found dead the next day on the railway track in front of the house