Mishkat al-Masabih 3140
Ar-Rubayyi‘ daughter of Mu'awwidh b. ‘Afra’ said:
The Prophet came and entered when I had been conducted to my husband, and sat on my bedding as you are sitting beside me. Some little girls of ours began to play the tambourine and eulogise those of my ancestors who were killed at the battle of Badr, and then one of them said: “And among us is a prophet who knows what will happen tomorrow." Thereupon he said, “Stop this and say what you were saying.” 

Bukhari transmitted it.
عَن الرّبيع بنت معوذ بن عَفْرَاءَ قَالَتْ: جَاءَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَدَخَلَ حِينَ بُنِيَ عَلَيَّ فَجَلَسَ عَلَى فِرَاشِي كمجلسك مني فَجعلت جويرات لَنَا يَضْرِبْنَ بِالدُّفِّ وَيَنْدُبْنَ مَنْ قُتِلَ مِنْ آبَائِي يَوْمَ بَدْرٍ إِذْ قَالَتْ إِحْدَاهُنَّ: وَفِينَا نَبِيٌّ يَعْلَمُ مَا فِي غَدٍ فَقَالَ: «دَعِي هَذِهِ وَقُولِي بِالَّذِي كُنْتِ تَقُولِينَ» . رَوَاهُ الْبُخَارِيُّ