Washing and shrouding the dead

Ruling on someone who had sexual intercourse with his wife at night and died while he was still Junub