Hariz or Abu Hariz (may Allah have mercy on him) (Yahya was in doubt) narrated that he heard Abd al-Rahman bin Farrukh (may Allah have mercy on him) ask Sayyiduna Ibn Umar (may Allah be pleased with them both): "We trade with people's wealth, then one of us comes to Makkah and spends the night with the wealth (instead of at Mina); (what is the ruling on this?)" So Sayyiduna Ibn Umar (may Allah be pleased with them both) said: "As for the Messenger of Allah (peace and blessings be upon him), he spent the night at Mina and stayed there through the day."
Imam Abu Dawud (may Allah have mercy on him) recorded it in this way in his Sunan.
Related hadith on this topic