It is narrated from Sayyiduna Abdullah (may Allah be pleased with him): "There was a wealthy man. When the time of his death drew near, he said to his family: 'If you carry out what I command you, I will leave you a great deal of wealth as inheritance.' They said: 'Very well.' He said: 'When I die, burn me, then grind my bones, and when a strong wind blows, climb to the top of a mountain and scatter me (into the air); for if Allah gets hold of me, He will never forgive me.' So that was done to him. Then he was gathered together in the Hands of Allah, and the Lord of Might asked: 'What made you do what you did?' He said: 'O my Lord, only fear of You.' Allah Almighty said: 'Go, for I have forgiven you.'"
Abu Ya'la recorded this hadith with a chain that has some weakness in it, and Ahmad bin Hanbal also recorded it.