The Messenger of Allah ﷺ would pray at night while I lay by his side during my menstrual period. A sheet of cloth would be partly on me and partly on him.
كَانَ رَسُولُ اللَّهِ ﷺ يُصَلِّي بِاللَّيْلِ وَأَنَا إِلَى جَنْبِهِ وَأَنَا حَائِضٌ وَعَلَىَّ مِرْطٌ لِي وَعَلَيْهِ بَعْضُهُ