It was Solomon's custom to take off the ring when he was about to wash, and to give it to one of his wives, Amina, to hold. On one occasion, when the ring was in Amina's keeping, the rebellious spirit Sakhr took on Solomon's form and obtained the ring. He then seated himself on the throne and ruled for forty days, during which time the real king wandered about the country, poor and forlorn. On the fortieth day Sakhr dropped the ring into the sea; there it was swallowed by a fish, which was caught by a poor fisherman and given to Solomon for his supper. Solomon cut open the fish, found the ring, and returned to power.
Solomon was also given a flying carpet when he was made king over every created thing, It is written that God gave him a large carpet sixty miles long and sixty miles wide, made of green silk interwoven with pure gold, and ornamented with figured decorations. Surrounded by his four princes, Asaph b. Berechiah, prince of men, Ramirat, prince of the spirits, a lion, prince of beasts, and an eagle, prince of birds, when Solomon sat upon the carpet he was caught up by the wind, and sailed through the air so quickly that he breakfasted at Damascus and supped in Media. One day Solomon was filled with pride at his own greatness and wisdom; and as a punishment therefor the wind shook the carpet, throwing down 40,000 men. Solomon chided the wind for the mischief it had done; but the latter rejoined that the king would do well to turn toward God and cease to be proud; whereupon Solomon felt greatly ashamed. - Source: Jewish Encyclopedia