the prophet confided something to one of his wives and then she disclosed it so after allah revealed to the prophet he made a part of it known to her and passed over a part of it. and when he told her about this she asked who informed you of this? he said i was told of it by he who is allknowing allaware.
وإذ أسر النبي إلى بعض أزواجه حديثا فلما نبأت به وأظهره الله عليه عرف بعضه وأعرض عن بعض فلما نبأها به قالت من أنبأك هذا قال نبأني العليم الخبير