terminating

Marriage terminating with death

Q: I came across that death terminates marriage. But I have seen a hadith that our Nabi (sallallahu alaihi wasallam) said to Ayesha (radhiyallahu anha) that if she dies first then he will give her a bath. Also, Ali (radhiyallahu anhu) gave Fatima (radhiyallahu anha) a bath. Can you give me authentic ahaadith and proofs that death terminates marriage? In afterlife, will husband and wife would be together in jannah. So it is really confusing.