It was narrated that ‘Ali ؓ said. The Messenger of Allah ﷺ prayed Duha when the sun was as high in the east as it is in the west at the time of ‘Asr prayer.
صَلَّى رَسُولُ اللهِ ﷺ الضُّحَى حِينَ كَانَتِ الشَّمْسُ مِنَ المَشْرِقِ فِي مَكَانِهَا مِنَ المَغْرِبِ صَلاةَ الْعَصْرِ