The hydrogen bonding between molecules in this case is the strongest.
Oxygen being more electronegative than nitrogen will form stronger hydrogen bonds.
Also water there are 2 lone pairs of electrons whereas the nitrogen in NH3 has only 1 lone pair of electrons.But ,correct me if I am wrong ...