Jacob's Brothers
So he began searching their bags before his brother’s, then finally pulled it from his brother’s sack. Thus, We devised a plan for Joseph, he could not have taken his brother under the king’s law unless Allah had willed. We elevate in rank whom We choose, and above every possessor of knowledge is One who knows all.
12:76Then he (Joseph) began the search with their bags before his brother's bag, then he produced it from his brother's bag. Thus did We contrive for Joseph. He could not have taken his brother according to the king's law unless Allah willed. We raise by grades (of mercy) whom We will, and over every lord of knowledge there is one more knowing.