Ref. No.
In the name of Allah the most Gracious, the most Merciful
The answer to your question is as follows:
The regular routine (habit) of the woman would be taken in notice. You should know that the maximum time of menstruation is 10 days. If blood stopped flowing after 10 days, then having intercourse with her before she takes a bath, is lawful though it not desirable.
If she has habit to menstruate less than 10 days then intercourse is allowed only after she takes a complete bath. Having intercourse is forbidden before a valid bath. Only pouring water over shoulder unto the lower parts of the body will not suffice and intercourse will remain unlawful, and if someone has done so in the past unknowingly he must repent to Allah and give sadaqa in the way of Allah too.
If she gets delayed in taking a bath and a time of a prayer passed by then it is permissible to have intercourse with her even before she take a proper bath.
وإذا انقطع دم الحيض لأقل من عشرة أيام لم يحل وطؤها حتى تغتسل " لأن الدم يدر تارة وينقطع أخرى فلا بد من الاغتسال ليترجح جانب الانقطاع " ولو لم تغتسل ومضى عليها أدنى وقت الصلاة بقدر أن تقدر على الاغتسال والتحريمة حل وطؤها " لأن الصلاة صارت دينا في ذمتها فطهرت حكما " ولو كان انقطع الدم دون عادتها فوق الثلاث لم يقربها حتى تمضي عادتها وإن إغتسلت " لأن العود في العادة غالب فكان الاحتياط في الاجتناب " وإن انقطع الدم لعشرة أيام حل وطؤها قبل الغسل " لأن الحيض لا مزيد له على العشرة إلا أنه لا يستحب قبل الاغتسال للنهي في القراءة بالتشديد. (ھدایہ ج 1 ص33)
And Allah knows best
Darul Ifta
Darul Uloom Waqf Deoband