It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Prophet Muhammad (peace and blessings be upon him) used to perform the Duha prayer only upon returning from a journey.
Hadith Referenceصحيح ابن خزيمه / جماع أبواب صلاة الضحى / 1229