Dragon Ball Z: Majin Buu does not die. Goku defeats him with a Super Spirit Bomb; Buu is reincarnated as Uub (a pure-hearted human).
Dragon Ball GT: In the series finale, Majin Buu sacrifices himself to save Goku from Baby, dying permanently.
Thus, Buu's death occurs only in the non-canon (anime-only) sequel series Dragon Ball GT, not in Dragon Ball Z or the manga.