Prophet Joseph is the first person who was blessed with this knowledge from God. He set it in the world.
Allah Says, “O Joseph! Allah will make you a pious person in this way and you will be blessed with dream interpretation knowledge”
Through this verse, Allah promised to bless Joseph with dream interpretation knowledge and fulfilled it eventually. And Joseph thanked Allah by saying, “My Lord! You also blessed me with kingdom and dream interpretation knowledge”