It is narrated from Hazrat Tariq (may Allah be pleased with him) that two men became obligated to perform ghusl. One of them performed tayammum and offered the prayer, while the other did not pray due to not finding water. Both of them came to the Prophet Muhammad (peace and blessings be upon him), and the Prophet (peace and blessings be upon him) did not reproach either of them.