In addition...
In addition, returning the money was a sign of sincerity, of having no evil intentions with regard to bringing the brother to him, and placing the money among the goods might have been to protect them from theft or robbery and that action can be a sign of non-indebtedness. Why did not Yusuf introduce himself to his brothers?
What prevented him from introducing himself so that his brothers could recognize him more quickly and make it possible for him to return to his father sooner and relieve him of the grief and misery that he had suffered all those years? Some commentators say that Allah did not allow Yusuf to do this because this separation was a trial for Ya‘qub and he was compelled to successfully undergo this period as was ordained by Allah.