the prophet told a secret to one of his wives telling her not to mention it to anyone else. when she divulged it god informed his prophet about this. the prophet told his wife part of the information which he had received from god and ignored the rest. then she asked who informed you about this? he replied the allaware and allknowing one has told me.
وإذ أسر النبي إلى بعض أزواجه حديثا فلما نبأت به وأظهره الله عليه عرف بعضه وأعرض عن بعض فلما نبأها به قالت من أنبأك هذا قال نبأني العليم الخبير