I tried many solvents but all are miscible with DMSO so no separation took place. The problem is, both the compounds are soluble in DMSO or water only.
Little can be said, since the compounds remain unidentified ― Maybe this discussion can be inspiring: https://www.researchgate.net/post/How_can_I_remove_DMSO_from_my_sample_Ive_done_washing_with_water_and_extracting_with_DCM_and_also_freeze-drying_but_they_were_inefficient/1