Read and reflect on verse 1615 from Surah Yusuf: AND THERE CAME a caravan; and they sent forth their drawer of water, and he let down his bucket into the well - [and when he saw Joseph] he exclaimed:...
وَجَاءَتْ سَيَّارَةٌ فَأَرْسَلُوا وَارِدَهُمْ فَأَدْلَىٰ دَلْوَهُ ۖ قَالَ يَا بُشْرَىٰ هَٰذَا غُلَامٌ ۚ وَأَسَرُّوهُ بِضَاعَةً ۚ وَاللَّهُ عَلِيمٌ بِمَا يَعْمَلُونَ
AND THERE CAME a caravan; and they sent forth their drawer of water, and he let down his bucket into the well - [and when he saw Joseph] he exclaimed: "Oh, what a lucky find, this boy!" And they hid him with a view to selling him: but God had full knowledge of all that they were doing.