It was narrated from Abu Umamah that a woman came to the Prophet ﷺ and told him that her husband was away on some military campaign. She asked him for permission to make an image of a palm tree in her house, and he did not let her, or he forbade her. (Using translation from Ibn Mājah 3652)
«أَنَّ امْرَأَةً أَتَتِ النَّبِيَّ ﷺ فَأَخْبَرَتْهُ أَنَّ زَوْجَهَا فِي بَعْضِ الْمَغَازِي فَاسْتَأْذَنَتْهُ أَنْ يُصَوِّرَ فِي بَيْتِهَا نَخْلَةً» فَمَنَعَهَا وَنَهَاهَا