Sayyiduna Sahl bin Sa'd (may Allah be pleased with him) said: "One of us would refrain from something, even while he and she (his wife) were under one garment, for fear that some verse of the Qur'an might be revealed about it."
Hadith Referenceالمعجم الكبير للطبراني / باب السين / 5963