Swimming in the Sea
Scholars have interpreted that swimming in the sea for a knowledgeable person may signify achieving their academic goals. However, swimming on land might indicate imprisonment and hardship in confinement, and the duration of stay could be proportional to the difficulty or ease of the swimming and the dreamer's strength.
Per Ibn Sirin's Muntakhab al-Kalam fi Tafsir al-Ahlam