Why did Yusuf put the cup in his brother's bag? It is one of the most asked questions about Surah Yusuf, because at first sight the scene looks strange. A prophet hides a valuable cup in the luggage of his own younger brother, a herald calls the whole caravan thieves, and the brother is held back in Egypt while the others go home to an old, grieving father.
The Quran tells this part of the story in 12:58-82. Read in order, and with the tafsir, the scene turns out to be careful and fair: the brother knew Yusuf's purpose, no one was punished for something he had done, the ruling came from the brothers' own mouths, and Allah Himself says “Thus did We plan for Joseph”
(Quran 12:76).
This article answers the question from the Quran and three works of tafsir: Ibn Kathir, al-Sa'di (Taysir al-Karim al-Rahman) and al-Tafsir al-Muyassar, with one report recorded by al-Tabari. For the whole story from the dream of the stars to the reunion, read the story of Prophet Yusuf.
The short answer: to keep his brother with him
Yusuf did it to keep his full brother with him in Egypt, in a way that the law of the land and the brothers themselves would accept. The Quran states the act in one ayah:
﴿فَلَمَّا جَهَّزَهُم بِجَهَازِهِمْ جَعَلَ ٱلسِّقَايَةَ فِى رَحْلِ أَخِيهِ ثُمَّ أَذَّنَ مُؤَذِّنٌ أَيَّتُهَا ٱلْعِيرُ إِنَّكُمْ لَسَـٰرِقُونَ ٧٠﴾(70) So when he had furnished them with their supplies, he put the [gold measuring] bowl into the bag of his brother. Then an announcer called out, "O caravan, indeed you are thieves."
Al-Tafsir al-Muyassar explains that when Yusuf had loaded their camels with food, he ordered his workers to place the vessel he used to measure grain for the people in his brother's baggage, without anyone noticing. Then, as they set off, a caller cried out that the caravan were thieves.
At the end of the search the Quran gives the reason in Allah's own words: Yusuf could not have taken his brother “within the religion [i.e., law] of the king except that Allāh willed”
(Quran 12:76). Al-Muyassar explains that the law of the king of Egypt did not allow a thief to be taken and kept, so Allah willed that the case be judged by the law of Yusuf's brothers, which did. The cup was the means; keeping his brother was the goal.
How the brother came to Egypt
The scene with the cup only makes sense once you know how Yusuf's brother came to be there at all. Years after the well, a famine brought the brothers to Egypt to buy food, and they stood in front of Yusuf without knowing him.
﴿وَجَآءَ إِخْوَةُ يُوسُفَ فَدَخَلُوا۟ عَلَيْهِ فَعَرَفَهُمْ وَهُمْ لَهُۥ مُنكِرُونَ ٥٨ وَلَمَّا جَهَّزَهُم بِجَهَازِهِمْ قَالَ ٱئْتُونِى بِأَخٍ لَّكُم مِّنْ أَبِيكُمْ ۚ أَلَا تَرَوْنَ أَنِّىٓ أُوفِى ٱلْكَيْلَ وَأَنَا۠ خَيْرُ ٱلْمُنزِلِينَ ٥٩﴾(58) And the brothers of Joseph came [seeking food], and they entered upon him; and he recognized them, but he was to them unknown. (59) And when he had furnished them with their supplies, he said, "Bring me a brother of yours from your father. Do you not see that I give full measure and that I am the best of accommodators?
Al-Muyassar says they did not recognise him because so much time had passed and his appearance had changed. They had told him they had another brother from their father who had not come with them, so Yusuf asked them to bring him next time and warned that without him there would be no more grain (12:60). He even had their payment slipped back into their bags so they would want to return (12:62). Al-Muyassar names this brother Binyamin (often written Benjamin); the Quran itself never names him and simply calls him Yusuf's brother.
Their father Ya'qub (peace be upon him) did not want to let the boy go. He reminded them of what had happened the last time he trusted them with a son, and only agreed after they gave him a solemn oath by Allah to bring him back unless they were overwhelmed (12:64-66).

So the brother arrived in Egypt surrounded by the same men who had once thrown Yusuf into a well, and carrying his father's worry with him. You can read more about that old grief in why Prophet Ya'qub went blind.
Did his brother know about the plan?
Yes, according to Ibn Kathir: Yusuf told his brother who he was before the cup was ever placed. The Quran describes the private moment:
﴿وَلَمَّا دَخَلُوا۟ عَلَىٰ يُوسُفَ ءَاوَىٰٓ إِلَيْهِ أَخَاهُ ۖ قَالَ إِنِّىٓ أَنَا۠ أَخُوكَ فَلَا تَبْتَئِسْ بِمَا كَانُوا۟ يَعْمَلُونَ ٦٩﴾(69) And when they entered upon Joseph, he took his brother to himself; he said, "Indeed, I am your brother, so do not despair over what they used to do [to me]."
Al-Muyassar says Yusuf drew his full brother close and told him in secret, "I am your brother, so do not grieve over what they did to me in the past," and ordered him to keep it hidden from the others.
Ibn Kathir adds the detail that answers our question. He says Yusuf told his brother to keep the secret, and that the two of them agreed that Yusuf would find a way to keep him with him, honoured and respected. In other words, the brother was not a victim of the plan. He was inside it, and the place he was going to "stay" was his own brother's house.
Al-Tabari records an early report that the brother did not notice the moment the cup was put in his bag. The two do not conflict: he could know that Yusuf intended to keep him without knowing exactly how or when it would happen. The Quran itself only tells us of the secret meeting and then the cup, and we do not need more than that.
What was the cup?
The Quran uses two words for it. Yusuf placed al-siqayah, a drinking vessel, and the herald's men said they were missing “the measure of the king”
(Quran 12:72), suwa' al-malik.
﴿قَالُوا۟ وَأَقْبَلُوا۟ عَلَيْهِم مَّاذَا تَفْقِدُونَ ٧١ قَالُوا۟ نَفْقِدُ صُوَاعَ ٱلْمَلِكِ وَلِمَن جَآءَ بِهِۦ حِمْلُ بَعِيرٍ وَأَنَا۠ بِهِۦ زَعِيمٌ ٧٢﴾(71) They said while approaching them, "What is it you are missing?" (72) They said, "We are missing the measure of the king. And for he who produces it is [the reward of] a camel's load, and I am responsible for it."
Al-Sa'di explains that it was the vessel one drinks from and also measures grain with. Ibn Kathir says that most scholars held it was made of silver, while some said gold, and that it was a drinking cup used for measuring. The Quran does not tell us its material, and nothing in the lesson depends on it.
Notice the reward: a full camel's load of grain for whoever brought it back, with the herald personally guaranteeing it. In a famine that was a serious offer, and it showed how important the missing cup was.
Was it a lie to call them thieves?
The tafsir explain it in a way that removes the problem: the herald may not have known the truth, Yusuf himself never accused his brother, and every word that followed was chosen with care.
First, the herald. Al-Sa'di says about 12:70 that perhaps this caller did not know the real situation. The cup really was missing from the king's stores, and the men in charge of it really did find it gone, so from where he stood the herald was saying what he believed.
Second, look at what Yusuf himself says when the brothers beg him to take one of them instead:
﴿قَالُوا۟ يَـٰٓأَيُّهَا ٱلْعَزِيزُ إِنَّ لَهُۥٓ أَبًا شَيْخًا كَبِيرًا فَخُذْ أَحَدَنَا مَكَانَهُۥٓ ۖ إِنَّا نَرَىٰكَ مِنَ ٱلْمُحْسِنِينَ ٧٨ قَالَ مَعَاذَ ٱللَّهِ أَن نَّأْخُذَ إِلَّا مَن وَجَدْنَا مَتَـٰعَنَا عِندَهُۥٓ إِنَّآ إِذًا لَّظَـٰلِمُونَ ٧٩﴾(78) They said, "O ʿAzeez, indeed he has a father [who is] an old man, so take one of us in place of him. Indeed, we see you as a doer of good." (79) He said, "[I seek] the refuge of Allāh [to prevent] that we take except him with whom we found our possession. Indeed, we would then be unjust."
Yusuf does not say "we will only take the thief." He says “that we take except him with whom we found our possession”
(Quran 12:79). That is exactly true: the cup was found with his brother. Al-Sa'di explains Yusuf's words as meaning that it would be injustice to take an innocent man for the offence of the one with whom the goods were found. The scene never has Yusuf declare that his brother stole.
Third, the brothers are the ones who swore that they were no thieves (12:73), and in their own case that was true. No one punished them, took their grain or held them. The only one held back was the brother who had agreed to stay.
Why did the brothers choose the punishment?
Because the herald's men asked them, and they answered with the rule they themselves followed. This is the turning point of the whole plan.
﴿قَالُوا۟ تَٱللَّهِ لَقَدْ عَلِمْتُم مَّا جِئْنَا لِنُفْسِدَ فِى ٱلْأَرْضِ وَمَا كُنَّا سَـٰرِقِينَ ٧٣ قَالُوا۟ فَمَا جَزَٰٓؤُهُۥٓ إِن كُنتُمْ كَـٰذِبِينَ ٧٤ قَالُوا۟ جَزَٰٓؤُهُۥ مَن وُجِدَ فِى رَحْلِهِۦ فَهُوَ جَزَٰٓؤُهُۥ ۚ كَذَٰلِكَ نَجْزِى ٱلظَّـٰلِمِينَ ٧٥﴾(73) They said, "By Allāh, you have certainly known that we did not come to cause corruption in the land, and we have not been thieves." (74) They [the accusers] said, "Then what would be its recompense if you should be liars?" (75) [The brothers] said, "Its recompense is that he in whose bag it is found - he [himself] will be its recompense. Thus do we recompense the wrongdoers."
The brothers said that whoever had the cup in his bag would himself be its recompense. Al-Muyassar explains that this meant he would be handed over to the one he stole from, to serve him, and that this was their religion and their custom with thieves.
Ibn Kathir says this was the law of Ibrahim (peace be upon him), that a thief is handed over to the one he stole from, and adds: this is what Yusuf wanted. By asking the brothers for the penalty instead of applying the king's law, the case was settled by a rule they could not complain about, since they had stated it themselves.
Why did he search the other bags first?
To keep suspicion away from the plan. The Quran says:
﴿فَبَدَأَ بِأَوْعِيَتِهِمْ قَبْلَ وِعَآءِ أَخِيهِ ثُمَّ ٱسْتَخْرَجَهَا مِن وِعَآءِ أَخِيهِ ۚ كَذَٰلِكَ كِدْنَا لِيُوسُفَ ۖ مَا كَانَ لِيَأْخُذَ أَخَاهُ فِى دِينِ ٱلْمَلِكِ إِلَّآ أَن يَشَآءَ ٱللَّهُ ۚ نَرْفَعُ دَرَجَـٰتٍ مَّن نَّشَآءُ ۗ وَفَوْقَ كُلِّ ذِى عِلْمٍ عَلِيمٌ ٧٦﴾(76) So he began [the search] with their bags before the bag of his brother; then he extracted it from the bag of his brother. Thus did We plan for Joseph. He could not have taken his brother within the religion [i.e., law] of the king except that Allāh willed. We raise in degrees whom We will, but over every possessor of knowledge is one [more] knowing.
Al-Muyassar says Yusuf himself began searching their bags before his brother's to make the plan he had arranged hold firm, and only then reached his brother's bag and drew the cup out of it. Ibn Kathir calls the order of the search a tawriyah, a way of concealing the real purpose: if he had gone straight to one bag, the brothers would have suspected a trap.
The wording of the ayah is careful here too. It says he “extracted it from the bag of his brother”
(Quran 12:76), which is simply what happened.
What does "Thus did We plan for Joseph" mean?
It means Allah Himself arranged and made easy this plan for Yusuf, and approved of it. The Arabic is kadhalika kidna li-Yusuf. The word kayd often means a scheme against someone, but here it is a plan for someone, and its author is Allah.
Ibn Kathir says this is the kind of kayd that Allah loves and is pleased with, because of the wisdom and good purpose in it. Al-Sa'di explains it as: We made this plan easy for him, through which he reached something that is not blameworthy. Al-Muyassar says: in this way We made easy for Yusuf the plan by which he was able to take his brother.
So the Quran does not leave the reader to judge the plan alone. It tells us directly that the idea, the timing and the outcome were from Allah, and that it was good.
"The religion of the king"
The ayah continues: Yusuf could not have taken his brother “within the religion [i.e., law] of the king”
(Quran 12:76). Here din does not mean faith. It means the law and the system of judgment of the king of Egypt.
Al-Muyassar explains that taking a thief as a servant was not part of the king's law. Al-Sa'di says the same, and adds that this is why the judgment was handed to the brothers' law, which allowed it. Ibn Kathir says Allah arranged that the brothers bound themselves to what they had committed to, under their own law, which Yusuf knew.
The phrase “except that Allāh willed”
(Quran 12:76) closes the circle: it happened because Allah willed it, not because Yusuf was clever on his own.
"Over every possessor of knowledge is one more knowing"
The ayah ends with two short sentences: “We raise in degrees whom We will”
(Quran 12:76), and “over every possessor of knowledge is one [more] knowing”
(Quran 12:76).
Al-Sa'di explains that Allah raises people in rank through beneficial knowledge and through knowing the right ways to reach good goals, as He raised Yusuf. He then says that every person of knowledge has someone above him who knows more, until knowledge ends with the One who knows the unseen and the seen. Ibn Kathir quotes al-Hasan al-Basri with the same meaning: there is no scholar without a scholar above him, until it ends with Allah. Al-Muyassar puts it the same way.
In the scene itself, the brothers thought they knew what was happening. Yusuf knew more than they did. And Allah, who arranged it all, knew more than everyone.
What the brothers said next, and why Yusuf stayed silent
Even with the cup in front of them, the brothers could not resist an old insult:
﴿۞ قَالُوٓا۟ إِن يَسْرِقْ فَقَدْ سَرَقَ أَخٌ لَّهُۥ مِن قَبْلُ ۚ فَأَسَرَّهَا يُوسُفُ فِى نَفْسِهِۦ وَلَمْ يُبْدِهَا لَهُمْ ۚ قَالَ أَنتُمْ شَرٌّ مَّكَانًا ۖ وَٱللَّهُ أَعْلَمُ بِمَا تَصِفُونَ ٧٧﴾(77) They said, "If he steals - a brother of his has stolen before." But Joseph kept it within himself and did not reveal it to them. He said, "You are worse in position, and Allāh is most knowing of what you describe."
Al-Muyassar says they meant Yusuf himself: if this one stole, his full brother stole before him. Al-Sa'di says they wanted to clear themselves by suggesting that these two, who were not their full brothers, were the kind who did such things. And Yusuf, standing in front of them, kept it inside. Al-Sa'di says he swallowed his anger, and Ibn Kathir explains that the words "You are worse in position" were what Yusuf said within himself, without showing it to them.
What did the brothers mean by a theft "before"? The Quran does not tell us. Ibn Kathir records different reports from early commentators about a childhood incident, but they are reports, not ayat, and they do not agree with each other. We do not need them to understand the scene: the point is that the brothers were still speaking unfairly about Yusuf, and he answered with patience.

What happened after the cup was found?
The eldest brother refused to leave Egypt until his father gave him permission or Allah judged for him, and the others returned to Ya'qub with the news (12:80-82). His reply shows his faith:
﴿قَالَ بَلْ سَوَّلَتْ لَكُمْ أَنفُسُكُمْ أَمْرًا ۖ فَصَبْرٌ جَمِيلٌ ۖ عَسَى ٱللَّهُ أَن يَأْتِيَنِى بِهِمْ جَمِيعًا ۚ إِنَّهُۥ هُوَ ٱلْعَلِيمُ ٱلْحَكِيمُ ٨٣﴾(83) [Jacob] said, "Rather, your souls have enticed you to something, so patience is most fitting. Perhaps Allāh will bring them to me all together. Indeed, it is He who is the Knowing, the Wise."
Al-Muyassar explains that Ya'qub hoped Allah would return to him all three of the missing sons: Yusuf, his full brother, and the eldest who had stayed behind. He then sent his sons back to search for “Joseph and his brother”
(Quran 12:87) and told them never to despair of Allah's mercy.
On that next visit, the brothers came to Yusuf humbled by hardship, and he finally told them who he was:
﴿قَالَ هَلْ عَلِمْتُم مَّا فَعَلْتُم بِيُوسُفَ وَأَخِيهِ إِذْ أَنتُمْ جَـٰهِلُونَ ٨٩ قَالُوٓا۟ أَءِنَّكَ لَأَنتَ يُوسُفُ ۖ قَالَ أَنَا۠ يُوسُفُ وَهَـٰذَآ أَخِى ۖ قَدْ مَنَّ ٱللَّهُ عَلَيْنَآ ۖ إِنَّهُۥ مَن يَتَّقِ وَيَصْبِرْ فَإِنَّ ٱللَّهَ لَا يُضِيعُ أَجْرَ ٱلْمُحْسِنِينَ ٩٠﴾(89) He said, "Do you know what you did with Joseph and his brother when you were ignorant?" (90) They said, "Are you indeed Joseph?" He said, "I am Joseph, and this is my brother. Allāh has certainly favored us. Indeed, he who fears Allāh and is patient, then indeed, Allāh does not allow to be lost the reward of those who do good."
Look at his words: “I am Joseph, and this is my brother”
(Quran 12:90). The brother who had been kept back was standing beside him, safe and honoured, exactly as Ibn Kathir described their agreement. The whole family was later reunited in Egypt (12:93-100), and Yusuf summed up the whole journey in one sentence: “Indeed, my Lord is Subtle in what He wills”
(Quran 12:100).
The cup scene at a glance
| Step | What happens | Ayat |
|---|---|---|
| The brothers come for grain | Yusuf knows them; they do not know him | 12:58-62 |
| Ya'qub's oath | The father sends the youngest only after a solemn promise | 12:63-66 |
| The secret meeting | Yusuf tells his brother who he is | 12:69 |
| The cup | Placed in the brother's bag; the herald cries "thieves" | 12:70-72 |
| The ruling | The brothers set the penalty by their own law | 12:73-75 |
| The search | Their bags first, then the brother's; "Thus did We plan" | 12:76 |
| The insult | "A brother of his stole before"; Yusuf stays silent | 12:77 |
| No substitute | Yusuf refuses to take an innocent man | 12:78-79 |
| The reunion | "I am Joseph, and this is my brother" | 12:89-90 |
Lessons from the story of the cup
- A good goal can be reached by a lawful plan. Al-Sa'di says Allah made this plan easy so that Yusuf could reach something not blameworthy.
- Choose your words with care. Yusuf spoke of the one "with whom we found our possession", not of a thief.
- Justice does not change under pressure. He refused to take an innocent man instead, calling it injustice (12:79).
- People are often judged by their own words. The brothers stated the penalty themselves, as Ibn Kathir and al-Muyassar explain.
- Swallowing anger is strength. Yusuf heard an unfair insult and kept it inside (12:77), as al-Sa'di notes.
- Allah's planning is above ours. "Thus did We plan for Joseph": the outcome was from Allah, not from cleverness alone.
- Knowledge is humbling. Every knower has someone above him, until knowledge ends with Allah (12:76).
- Hope stays alive. Ya'qub lost a second son and still said "Perhaps Allah will bring them to me all together" (12:83).
The patience that runs through this part of the story is explored across all the prophets in patience in the stories of the prophets.
Telling this part of the story to children
Children are often confused by this scene, so start with the secret: Yusuf told his little brother "I am your brother" and they made a plan together. Then tell the cup part as a gentle mystery, and end with the reunion, where the little brother is standing safely next to Yusuf. Keep to what the Quran says. A good question to ask afterwards: "Why do you think Yusuf did not answer when his brothers said something unkind?" Our story of Prophet Yusuf for kids tells the whole story in simple words.
Read and watch it in QASAS
QASAS is a free prophet stories app with no ads, no account and no tracking. The story of Yusuf comes in two cinematic episodes, "Yusuf's Dream" and "Yusuf in the Well," which you can watch and read page by page, with a short quiz after each. Afterwards you can open Surah Yusuf in the mushaf with tafsir (al-Muyassar and Ibn Kathir) and read 12:58-100 with recitation and word-by-word meaning. The app also has prayer times, the qibla and a 3D tasbih.
Watch this story in QASASYusuf's DreamEleven stars, the sun and the moon bowed to him.Open on Google Play →Frequently asked questions
Why did Yusuf put the cup in his brother's bag?
To keep his brother with him in Egypt. The king's law did not allow a thief to be held, so the case was judged by the brothers' own law, under which the one with the cup would stay (12:75-76). Ibn Kathir says this is what Yusuf wanted.
Did Yusuf's brother know about the cup?
He knew Yusuf's purpose. Ibn Kathir says that when Yusuf told him "I am your brother" (12:69), they agreed that Yusuf would find a way to keep him. Al-Tabari records a report that he did not notice the cup being placed, so he may not have known the exact moment.
Was it a lie to call the caravan thieves?
The tafsir answer no. Al-Sa'di says the herald perhaps did not know the real situation. Yusuf himself only said he would take "him with whom we found our possession" (12:79), which was true, and he never said his brother stole.
What is the meaning of "Thus did We plan for Joseph"?
It means Allah arranged and made easy the plan for Yusuf (12:76). Ibn Kathir calls it a plan that Allah loves and is pleased with, and al-Sa'di says it led to something that was not blameworthy.
What was the "measure of the king" in Surah Yusuf?
A drinking vessel that was also used to measure grain, called siqayah and suwa' al-malik (12:70-72). Ibn Kathir says most scholars held it was silver and some said gold. The Quran does not specify.
What does "the religion of the king" mean in 12:76?
It means the king of Egypt's law, not his faith. Al-Muyassar and al-Sa'di explain that his law did not allow a thief to be kept as a servant, which is why the brothers' law was used.
Why did Yusuf search the other bags first?
To keep suspicion away. Al-Muyassar says he began with their bags to make his plan hold, and Ibn Kathir calls this a way of concealing the purpose (tawriyah).
What did the brothers mean by "a brother of his has stolen before"?
They meant Yusuf (12:77), trying to clear themselves. The Quran does not describe any such event, and the reports about it in tafsir differ, so they are not established. Yusuf kept his reply to himself.
Sources
The Quran, Surah Yusuf 12:58-90 and 12:100 (Arabic text and Saheeh International translation as used in the QASAS app). Tafsir: Ibn Kathir (Tafsir al-Quran al-'Azim) on 12:69-77; al-Sa'di (Taysir al-Karim al-Rahman) on 12:70, 12:76-77 and 12:79; al-Tafsir al-Muyassar (King Fahd Complex) on 12:58-90; al-Tabari (Jami' al-Bayan) on 12:70.
Updated: · By QASAS



