Hadith.1087 - Iyas ibn al-Qasim narrated from Imam Jafar ibn Muhammad Al-Sadiq عليه السلام about a man who prays in a woman's izar (waistcloth), in her garment, and uses her khimar (headcover) as a turban.
Imam عليه السلام said: "If She is trustworthy (māʾmūnah), there is no harm."